ButtonStyleBuilder class
Constructors
- ButtonStyleBuilder({TextStyle? textStyle, Color? backgroundColor, Color? foregroundColor, Color? overlayColor, Color? shadowColor, double? elevation, EdgeInsetsGeometry? padding, Size? minimumSize, BorderSide? side, OutlinedBorder? shape, MouseCursor? mouseCursor, VisualDensity? visualDensity, MaterialTapTargetSize? tapTargetSize, Duration? animationDuration, bool? enableFeedback})
-
const
Properties
- animationDuration → Duration?
-
ButtonStyle.animationDuration
final
- backgroundColor → Color?
-
ButtonStyle.backgroundColor
final
- elevation → double?
-
ButtonStyle.elevation
final
- enableFeedback → bool?
-
ButtonStyle.enableFeedback
final
- foregroundColor → Color?
-
ButtonStyle.foregroundColor
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- minimumSize → Size?
-
ButtonStyle.minimumSize
final
- mouseCursor → MouseCursor?
-
ButtonStyle.mouseCursor
final
- overlayColor → Color?
-
ButtonStyle.overlayColor
final
- padding → EdgeInsetsGeometry?
-
ButtonStyle.padding
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color?
-
ButtonStyle.shadowColor
final
- shape → OutlinedBorder?
-
ButtonStyle.shape
final
- side → BorderSide?
-
ButtonStyle.side
final
- tapTargetSize → MaterialTapTargetSize?
-
ButtonStyle.tapTargetSize
final
- textStyle → TextStyle?
-
ButtonStyle.textStyle
final
- visualDensity → VisualDensity?
-
ButtonStyle.visualDensity
final
Methods
-
build(
) → ButtonStyle -
copyWith(
{TextStyle? textStyle, Color? backgroundColor, Color? foregroundColor, Color? overlayColor, Color? shadowColor, double? elevation, EdgeInsetsGeometry? padding, Size? minimumSize, BorderSide? side, OutlinedBorder? shape, MouseCursor? mouseCursor, VisualDensity? visualDensity, MaterialTapTargetSize? tapTargetSize, Duration? animationDuration, bool? enableFeedback}) → ButtonStyleBuilder -
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