ToggleButtonThemeDefaults class
- Inheritance
-
- Object
- ThemeExtension<
ToggleButtonThemeData> - ToggleButtonThemeData
- ToggleButtonThemeDefaults
- Mixed-in types
- Annotations
Constructors
- ToggleButtonThemeDefaults(BuildContext context, [ToggleButtonThemeData? other])
Properties
- appTheme → ThemeData
-
no setterinherited
- colorTheme → ColorThemeDefaults
-
no setterinherited
- context → BuildContext
-
final
- curve → Curve
-
The curve to apply when animating the parameters of avatar widget.
finalinherited
- dangerStyle → ButtonStyleByVariant
-
The ButtonStyle to be applied to the sheet widget with danger severity
finalinherited
- duration → Duration
-
The duration over which to animate the parameters of button widget.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- infoStyle → ButtonStyleByVariant
-
The ButtonStyle to be applied to the sheet widget with info severity
finalinherited
- isDark → bool
-
no setterinherited
- isLight → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
severityStyle
→ Map<
ButtonSeverity, ButtonStyleByVariant> -
The ButtonStyle to be applied to the sheet widget with severity
no setterinherited
- style → ButtonStyle
-
The ButtonStyle to be applied to the button widget
no setteroverride
- successStyle → ButtonStyleByVariant
-
The ButtonStyle to be applied to the sheet widget with success severity
finalinherited
- textTheme → TextTheme
-
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
- variantStyle → ButtonStyleByVariant
-
The
ButtonStyle
to be applied to the variant sheet widgetno setteroverride - warningStyle → ButtonStyleByVariant
-
The ButtonStyle to be applied to the sheet widget with warning severity
finalinherited
Methods
-
copyWith(
{Curve? curve, Duration? duration, ButtonStyle? style, ButtonStyleByVariant? variantStyle, ButtonStyleByVariant? dangerStyle, ButtonStyleByVariant? warningStyle, ButtonStyleByVariant? successStyle, ButtonStyleByVariant? infoStyle}) → ToggleButtonThemeData -
Creates a copy of this ToggleButtonThemeData but with
the given fields replaced with the new values.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
lerp(
covariant ThemeExtension< ToggleButtonThemeData> ? other, double t) → ToggleButtonThemeData -
Linearly interpolate with another ThemeExtension object.
inherited
-
merge(
ToggleButtonThemeData? other) → ToggleButtonThemeData -
Creates a copy of this ToggleButtonThemeData but with
the given fields replaced with the new values.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
{ButtonVariant? variant, ButtonSeverity? severity}) → ButtonStyle -
Return ButtonStyle that depends on
variant
andseverity
inherited -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toMap(
) → Map< String, dynamic> -
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited