FlameSplashController class
Controller enables you to start the animation whenever you want with autoStart option and customize animation duration as well.
Constructors
- FlameSplashController({Duration fadeInDuration = const Duration(milliseconds: 750), Duration waitDuration = const Duration(seconds: 2), Duration fadeOutDuration = const Duration(milliseconds: 450), bool autoStart = true})
Properties
- autoStart → bool
-
Defines if you want to start the animations right after widget mount.
final
- durations → FlameSplashDurations
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ FlameSplashControllerState
-
Displays the actual state of the controller regarding the animation.
getter/setter pair
- stepController → FlameSplashControllerStep
-
final
Methods
-
dispose(
) → void - Properly disposes of this controller. Must be called after no longer used.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setup(
int steps, void onFinish()) → void - Called by the start method; this is only exposed for testing purposes.
-
start(
) → void - Method used to start the animation, do not call if you set autoStart to true.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited