ButtonVariance class
- Implemented types
- Available extensions
Constructors
-
ButtonVariance({required ButtonStateProperty<
Decoration> decoration, required ButtonStateProperty<MouseCursor> mouseCursor, required ButtonStateProperty<EdgeInsetsGeometry> padding, required ButtonStateProperty<TextStyle> textStyle, required ButtonStateProperty<IconThemeData> iconTheme, required ButtonStateProperty<EdgeInsetsGeometry> margin}) -
const
Properties
-
decoration
→ ButtonStateProperty<
Decoration> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
iconTheme
→ ButtonStateProperty<
IconThemeData> -
final
-
margin
→ ButtonStateProperty<
EdgeInsetsGeometry> -
final
-
mouseCursor
→ ButtonStateProperty<
MouseCursor> -
final
-
padding
→ ButtonStateProperty<
EdgeInsetsGeometry> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textStyle
→ ButtonStateProperty<
TextStyle> -
final
Methods
-
copyWith(
{ButtonStatePropertyDelegate< Decoration> ? decoration, ButtonStatePropertyDelegate<MouseCursor> ? mouseCursor, ButtonStatePropertyDelegate<EdgeInsetsGeometry> ? padding, ButtonStatePropertyDelegate<TextStyle> ? textStyle, ButtonStatePropertyDelegate<IconThemeData> ? iconTheme, ButtonStatePropertyDelegate<EdgeInsetsGeometry> ? margin}) → AbstractButtonStyle -
Available on AbstractButtonStyle, provided by the ButtonStyleExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- card → const ButtonVariance
- destructive → const ButtonVariance
- fixed → const ButtonVariance
- ghost → const ButtonVariance
- link → const ButtonVariance
- muted → const ButtonVariance
- outline → const ButtonVariance
- primary → const ButtonVariance
- secondary → const ButtonVariance
- text → const ButtonVariance