GrxAnimatedLoadingButtonController class

Inheritance
  • Object
  • RoundedLoadingButtonController
  • GrxAnimatedLoadingButtonController

Constructors

GrxAnimatedLoadingButtonController({Duration? resetStateDuration = const Duration(seconds: 3)})

Properties

currentState → ButtonState?
Gets the current state
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasStarted ValueNotifier<bool>
final
resetStateDuration Duration?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateStream Stream<ButtonState>
A read-only stream of the button state
no setterinherited

Methods

error() → void
Notify listeners to start the error animation
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Notify listeners to start the reset animation
inherited
start() → void
Notify listeners to start the loading animation
override
stop() → void
Notify listeners to start the stop animation
inherited
success() → void
Notify listeners to start the success animation
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited