Navigator class
Fonction gérant l'affichage à l'écran et la navigation entre différentes pages
Constructors
Properties
- currentView ↔ View?
-
Vue qui sera affichée si this.display() est appelée
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializedView ↔ bool
-
Indique si une vue à été correctement initialisée
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
display(
) → Future< void> - Fonction affichant le résultat d'une vue à l'écran
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pop(
) → void - Fonction permettant de revenir en arrière dans l'affichage des vues
-
push(
View newView) → void - Fonction permettant de naviguer vers une nouvelle vue, en mettant l'ancienne vue en tant que parent de la nouvelle
-
setView(
View view) → void - Fonction permettant d'initialiser la vue à afficher
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
exitProgram(
) → void - Ferme le programme correctement