AppStateBuilder class
Setup of AppState. Holds case key, builder and transition
Constructors
- AppStateBuilder(AppState key, WidgetBuilder builder, CrossTransition? transition)
-
Setup of AppState.
key - Case representing AppState.
builder - Builder for given case.
transition - Animation from previous Widget to given case.
const
Properties
- builder → WidgetBuilder
-
Case builder for this state.
final
-
builderEntry
→ MapEntry<
AppState, WidgetBuilder> -
Returns case:builder entry.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → AppState
-
Case key of AppState.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transition → CrossTransition?
-
Case transaction to this state.
final
-
transitionEntry
→ MapEntry<
AppState, CrossTransition> -
Returns case:transition entry.
no setter
Methods
-
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
Static Methods
-
fillBuilders(
List< AppStateBuilder> items) → Map<AppState, WidgetBuilder> - Builds case:builder map for given states.
-
fillTransitions(
List< AppStateBuilder> items) → Map<AppState, CrossTransition> - Builds case:transition map for given states.