CellFactory constructor

const CellFactory(
  1. {Key? key,
  2. required Widget child,
  3. Map<Type, CellBuilder> builders = const {},
  4. Map<Type, CellBuilder> compact = const {},
  5. Map<Type, CellBuilder> large = const {}}
)

Implementation

const CellFactory({
  super.key,
  required super.child,
  Map<Type, CellBuilder> builders = const {},
  Map<Type, CellBuilder> compact = const {},
  Map<Type, CellBuilder> large = const {},
})  : _builders = builders,
      _buildersCompact = compact,
      _buildersLarge = large;