FlexStripeCellBuilder class
Builder to use to build data cells that alternate in color by rows.
- Inheritance
-
- Object
- FlexCellBuilder
- FlexDataCellBuilder
- FlexStripeCellBuilder
Constructors
- FlexStripeCellBuilder({Alignment alignment = Alignment.centerLeft, Color even = Colors.transparent, int maxLines = 1, Color? odd, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8.0), Color? selectedColor})
-
const
Properties
- alignment → Alignment
-
finalinherited
- color → Color?
-
finalinherited
- even → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxLines → int
-
finalinherited
- odd → Color?
-
final
- padding → EdgeInsetsGeometry
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedColor → Color?
-
finalinherited
Methods
-
build(
{required Widget child, required BuildContext context, required int columnIndex, required int rowIndex, required bool selected}) → Widget -
Builds the Widget for the cell located at
columnIndexandrowIndex. The passed inchildshould be wrapped by whatever widgets this builder provides.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited