FdcGridToolbarStyle class

Layout and search-control styling for the grid toolbar surface.

Constructors

FdcGridToolbarStyle({Color? backgroundColor, TextStyle? textStyle, Color? itemTextColor, Color? itemIconColor, Color? disabledItemTextColor, Color? disabledItemIconColor, double? height, EdgeInsetsGeometry? padding, double? searchExpandedWidth, double? searchFieldHeight, double? searchFieldBorderRadius, Color? searchIconColor, Color? searchClearIconColor, Color? searchFieldFillColor, Color? searchFieldBorderColor, Color? searchFieldFocusedBorderColor, double? searchFieldBorderWidth, double? searchFieldFocusedBorderWidth})
Creates a FdcGridToolbarStyle.
const

Properties

backgroundColor → Color?
Background color used by the grid toolbar.
final
disabledItemIconColor → Color?
Icon color used by disabled built-in and theme-aware toolbar items.
final
disabledItemTextColor → Color?
Text/caption color used by disabled built-in and theme-aware toolbar items.
final
hashCode → int
The hash code for this object.
no setteroverride
height → double?
Fixed height of the toolbar shell.
final
itemIconColor → Color?
Icon color used by built-in and theme-aware toolbar items.
final
itemTextColor → Color?
Text/caption color used by built-in and theme-aware toolbar items.
final
padding → EdgeInsetsGeometry?
Internal padding around toolbar content.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchClearIconColor → Color?
Clear button icon color inside the search editor.
final
searchExpandedWidth → double?
Expanded width of the global search editor inside the toolbar.
final
searchFieldBorderColor → Color?
Unfocused border color used by the search editor.
final
searchFieldBorderRadius → double?
Border radius used by the global search editor.
final
searchFieldBorderWidth → double?
Unfocused border width used by the global search editor.
final
searchFieldFillColor → Color?
Fill color used by the search editor.
final
searchFieldFocusedBorderColor → Color?
Focused border color used by the search editor.
final
searchFieldFocusedBorderWidth → double?
Focused border width used by the global search editor.
final
searchFieldHeight → double?
Height of the global search editor inside the toolbar.
final
searchIconColor → Color?
Search action and leading search icon color.
final
textStyle → TextStyle?
Text style reserved for toolbar labels/actions.
final

Methods

copyWith({Color? backgroundColor, TextStyle? textStyle, Color? itemTextColor, Color? itemIconColor, Color? disabledItemTextColor, Color? disabledItemIconColor, double? height, EdgeInsetsGeometry? padding, double? searchExpandedWidth, double? searchFieldHeight, double? searchFieldBorderRadius, Color? searchIconColor, Color? searchClearIconColor, Color? searchFieldFillColor, Color? searchFieldBorderColor, Color? searchFieldFocusedBorderColor, double? searchFieldBorderWidth, double? searchFieldFocusedBorderWidth}) → FdcGridToolbarStyle
Creates a copy with selected values replaced.
lerp(FdcGridToolbarStyle other, double t) → FdcGridToolbarStyle
Interpolates between two styles for animated theme transitions.
merge(FdcGridToolbarStyle? override) → FdcGridToolbarStyle
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

defaultHeight → const double
Fallback toolbar height used when height is not provided.
defaults → const FdcGridToolbarStyle
Built-in toolbar dimensions and search-control geometry used before caller overrides are merged.
defaultSearchExpandedWidth → const double
Width used for the expanded toolbar search control when no explicit width is configured.
defaultSearchFieldBorderRadius → const double
Corner radius used by the toolbar search field when no radius is configured.
defaultSearchFieldBorderWidth → const double
Unfocused toolbar search-field border width used when no override is configured.
defaultSearchFieldFocusedBorderWidth → const double
Focused toolbar search-field border width used when no override is configured.
defaultSearchFieldHeight → const double
Height used by the toolbar search field when no search-field height is configured.