FluentDataGridBaseState class
Everything needed to render a data grid, independent of size.
The counterpart of FluentButtonBaseState. buildFluentDataGrid takes this
rather than FluentDataGridState, which is what makes "Fluent's state, my
own styling, Fluent's rendering" a supported path rather than a fork.
- Implementers
- Annotations
Constructors
-
FluentDataGridBaseState({required List<
double?> columnWidths, required List<FluentDataGridRenderRow> rows, required bool enabled, List<Widget> ? headerCells, double? selectionColumnWidth}) -
Creates a base state.
const
Properties
-
columnWidths
→ List<
double?> -
One entry per data column: a fixed width, or null to take an equal share
of what the fixed columns leave.
final
- enabled → bool
-
Whether the grid responds to input at all.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerCells
→ List<
Widget> ? -
The header row's cells, or null when the grid draws no header.
final
-
rows
→ List<
FluentDataGridRenderRow> -
The body rows, already wrapped.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionColumnWidth → double?
-
Fixed width of the leading selection column, or null when there is none.
final
Methods
-
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