FlexFilterHeaderCellBuilder class

Builder for FlexTable headers that utilize a popover to allow for filtering the contents based on a particular value.

Inheritance

Constructors

FlexFilterHeaderCellBuilder({Alignment alignment = Alignment.centerLeft, Color? color, required FlexFilterController controller, Icon icon = const Icon(Icons.filter_alt, color: Colors.black, size: 16.0), int maxLines = 1, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8.0)})
Constructs the builder with the controller to use to apply the filters. When a column is being filtered, a filter icon will be displayed in the header.
const

Properties

alignment → Alignment
finalinherited
color → Color?
finalinherited
controller → FlexFilterController
The controller given to the FlexTable that this should interact with.
final
hashCode → int
The hash code for this object.
no setterinherited
icon → Icon
The icon to display in the FlexTable header when a filter is applied to a column.
final
maxLines → int
finalinherited
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 columnIndex and rowIndex. The passed in child should 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