ButtonStyleFields class abstract final

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

backgroundColor → const PropDef<Color?>
The button's fill.
codec → const ValueCodec<ButtonStyle>
elevation → const PropDef<double?>
How raised the button is (its shadow).
foregroundColor → const PropDef<Color?>
iconColor → const PropDef<Color?>
The icon's color; without one, foregroundColor.
iconSize → const PropDef<double?>
The icon's size.
shadowColor → const PropDef<Color?>
The color of the shadow under a raised button.
shape → const PropDef<ShapeBorder?>
The button's shape: {"type": "roundedRectangle", "borderRadius": 10}, stadium, circle...
side → const PropDef<BorderSide?>
The button's border.
spec → const WidgetSpec
textStyle → const PropDef<TextStyle>
The label's style (a TextStyle or a theme style's name). Its color comes from foregroundColor; without a fontSize the label is 12 px.