MaterialFlatButtonData class Null safety

Constructors

MaterialFlatButtonData({Key? widgetKey, Widget? child, Color? color, void onPressed()?, EdgeInsetsGeometry? padding, Color? disabledColor, Duration? animationDuration, Brightness? colorBrightness, double? disabledElevation, Color? disabledTextColor, double? elevation, Color? highlightColor, double? highlightElevation, void onHighlightChanged(bool)?, ShapeBorder? shape, Color? splashColor, Color? textColor, ButtonTextTheme? textTheme, Clip? clipBehavior, MaterialTapTargetSize? materialTapTargetSize, double? focusElevation, Color? focusColor, Color? hoverColor, FocusNode? focusNode, double? hoverElevation, bool? autofocus, void 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 → (void Function?(bool)?)
final
onLongPress → (void Function?()?)
final
onPressed → (void Function?()?)
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
A string representation of this object. [...]
inherited

Operators

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