FButtonSpinnerStyle class final
FButton spinner's style.
- Mixed-in types
Constructors
- FButtonSpinnerStyle({required Color enabledSpinnerColor, required Color disabledSpinnerColor, Duration animationDuration = const Duration(seconds: 1), double spinnerSize = 20})
- Creates a FButtonSpinnerStyle.
- FButtonSpinnerStyle.inherit({required Color enabled, required Color disabled})
-
Creates a FButtonSpinnerStyle that inherits its properties from the given
enabled
anddisabled
.
Properties
- animationDuration → Duration
-
The animation duration. Defaults to 1 second`.
final
- disabledSpinnerColor → Color
-
The spinner's color when this button is disabled.
final
- enabledSpinnerColor → Color
-
The spinner's color when this button is enabled.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spinnerSize → double
-
The spinner's size. Defaults to 20.
final
Methods
-
copyWith(
{Duration? animationDuration, Color? enabledSpinnerColor, Color? disabledSpinnerColor, double? spinnerSize}) → FButtonSpinnerStyle - Returns a copy of this FButtonSpinnerStyle with the given properties replaced.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
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
-
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.
override