MaterialFlatButtonData class

Constructors

MaterialFlatButtonData({Key widgetKey, Widget child, Color color, VoidCallback onPressed, EdgeInsetsGeometry padding, Color disabledColor, Duration animationDuration, Brightness colorBrightness, double disabledElevation, Color disabledTextColor, double elevation, Color highlightColor, double highlightElevation, ValueChanged<bool> onHighlightChanged, ShapeBorder shape, Color splashColor, Color textColor, ButtonTextTheme textTheme, Clip clipBehavior, MaterialTapTargetSize materialTapTargetSize, double focusElevation, Color focusColor, Color hoverColor, FocusNode focusNode, double hoverElevation, bool autofocus, VoidCallback onLongPress, VisualDensity visualDensity, MouseCursor mouseCursor, double height, double minWidth})

Properties

animationDuration Duration
final
autofocus bool
final
child Widget
final, inherited
clipBehavior Clip
final
color Color
final, inherited
colorBrightness Brightness
final
disabledColor Color
final, inherited
disabledElevation double
final
disabledTextColor Color
final
elevation double
final
focusColor Color
final
focusElevation double
final
focusNode FocusNode
final
hashCode int
The hash code for this object. [...]
read-only, inherited
height double
final
highlightColor Color
final
highlightElevation double
final
hoverColor Color
final
hoverElevation double
final
materialTapTargetSize MaterialTapTargetSize
final
minWidth double
final
mouseCursor MouseCursor
final
onHighlightChanged ValueChanged<bool>
final
onLongPress VoidCallback
final
onPressed VoidCallback
final, inherited
padding EdgeInsetsGeometry
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shape ShapeBorder
final
splashColor Color
final
textColor Color
final
textTheme ButtonTextTheme
final
visualDensity VisualDensity
final
widgetKey Key
final, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited