MaterialFlatButtonData class
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?
-
finalinherited
- clipBehavior → Clip?
-
final
- color → Color?
-
finalinherited
- colorBrightness → Brightness?
-
final
- disabledColor → Color?
-
finalinherited
- 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.
no setterinherited
- 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()?)
-
finalinherited
- padding → EdgeInsetsGeometry?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
final
- splashColor → Color?
-
final
- textColor → Color?
-
final
- textTheme → ButtonTextTheme?
-
final
- visualDensity → VisualDensity?
-
final
- widgetKey → Key?
-
finalinherited
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