SecondaryButtonTheme class
Theme configuration for secondary button styling.
Provides theme-level customization for secondary buttons through the component theme system. Secondary buttons have muted styling suitable for supporting actions.
- Inheritance
-
- Object
- ComponentThemeData
- ButtonTheme
- SecondaryButtonTheme
Constructors
-
SecondaryButtonTheme({ButtonStatePropertyDelegate<
Decoration> ? decoration, ButtonStatePropertyDelegate<MouseCursor> ? mouseCursor, ButtonStatePropertyDelegate<EdgeInsetsGeometry> ? padding, ButtonStatePropertyDelegate<TextStyle> ? textStyle, ButtonStatePropertyDelegate<IconThemeData> ? iconTheme, ButtonStatePropertyDelegate<EdgeInsetsGeometry> ? margin}) -
Creates a SecondaryButtonTheme with optional style property delegates.
const
Properties
-
decoration
→ ButtonStatePropertyDelegate<
Decoration> ? -
Optional decoration override (background, border, shadows).
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
iconTheme
→ ButtonStatePropertyDelegate<
IconThemeData> ? -
Optional icon theme override.
finalinherited
-
margin
→ ButtonStatePropertyDelegate<
EdgeInsetsGeometry> ? -
Optional margin override.
finalinherited
-
mouseCursor
→ ButtonStatePropertyDelegate<
MouseCursor> ? -
Optional mouse cursor override.
finalinherited
-
padding
→ ButtonStatePropertyDelegate<
EdgeInsetsGeometry> ? -
Optional padding override.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textStyle
→ ButtonStatePropertyDelegate<
TextStyle> ? -
Optional text style override.
finalinherited
Methods
-
copyWith(
{ValueGetter< ButtonStatePropertyDelegate< ? decoration, ValueGetter<Decoration> ?>ButtonStatePropertyDelegate< ? mouseCursor, ValueGetter<MouseCursor> ?>ButtonStatePropertyDelegate< ? padding, ValueGetter<EdgeInsetsGeometry> ?>ButtonStatePropertyDelegate< ? textStyle, ValueGetter<TextStyle> ?>ButtonStatePropertyDelegate< ? iconTheme, ValueGetter<IconThemeData> ?>ButtonStatePropertyDelegate< ? margin}) → SecondaryButtonThemeEdgeInsetsGeometry> ?> - Creates a copy of this theme with selectively replaced properties.
-
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