FdcGridStyle class

Visual style configuration for an FdcGrid.

The style controls grid presentation without changing dataset behavior or interaction semantics.

Constructors

FdcGridStyle({FdcGridLines? gridLines, Color? gridLineColor, double? pinnedSeparatorInset, FdcGridVerticalLines? verticalGridLines, Color? borderColor, Color? backgroundColor, Color? rowIndicatorBackgroundColor, TextStyle? cellTextStyle, Color? disabledCellBackgroundColor, Color? selectedCellBackgroundColor, Color? selectedRowColor})
Creates a FdcGridStyle.
const

Properties

backgroundColor → Color?
Background color used for the grid viewport surface, including the empty body area below the last rendered data row.
final
borderColor → Color?
Color used for the outer border around the grid control.
final
cellTextStyle → TextStyle?
Default text style used by grid cells.
final
disabledCellBackgroundColor → Color?
Background color used by disabled/read-only grid cells when the grid renders a disabled column.
final
gridLineColor → Color?
Color used for all internal grid lines and shell separators.
final
gridLines → FdcGridLines?
Controls which internal grid lines are rendered.
final
hashCode → int
The hash code for this object.
no setteroverride
pinnedSeparatorInset → double?
Empty space above and below pinned-region separators.
final
rowIndicatorBackgroundColor → Color?
Background color used by the leading row indicator body region.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedCellBackgroundColor → Color?
Background color used by the active/current grid cell.
final
selectedRowColor → Color?
Background color applied to selected grid rows.
final
verticalGridLines → FdcGridVerticalLines?
Controls whether vertical grid lines stop at rendered rows or continue through the full viewport height.
final

Methods

copyWith({FdcGridLines? gridLines, Color? gridLineColor, double? pinnedSeparatorInset, FdcGridVerticalLines? verticalGridLines, Color? borderColor, Color? backgroundColor, Color? rowIndicatorBackgroundColor, TextStyle? cellTextStyle, Color? disabledCellBackgroundColor, Color? selectedCellBackgroundColor, Color? selectedRowColor}) → FdcGridStyle
Creates a copy with selected values replaced.
lerp(FdcGridStyle other, double t) → FdcGridStyle
Interpolates between two styles for animated theme transitions.
merge(FdcGridStyle? override) → FdcGridStyle
Returns this style with non-null values from override applied.
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.
override

Constants

defaultGridLineColor → const Color
Fallback line and border color used by the built-in grid style.
defaults → const FdcGridStyle
Built-in grid surface, line, border, and selection treatment used before caller overrides are merged.