ShowClassContentView class

Inheritance

Constructors

ShowClassContentView.new(Controller controller, {View? parent})

Properties

console → Console
Objet console permettant de contrôler l'affichage du terminal
finalinherited
controller ↔ Controller
Objet controller pour obtenir les données nécessaire à l'affichage
getter/setter pairinherited
displayedElements ↔ int
getter/setter pair
displayedSubList ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
height ↔ int
getter/setter pair
initializedState ↔ bool
Variable représentant si la vue a été correctement initialisée
getter/setter pairinherited
initializingState ↔ bool
Variable représentant si la vue est en train d'être initialisée
getter/setter pairinherited
loadingMessageDrawn ↔ bool
getter/setter pair
optionLength ↔ int
getter/setter pair
options ↔ List<Course>
getter/setter pair
optionSize ↔ List<(int, int)>
getter/setter pair
parent ↔ View?
Vue parent depuis laquelle la vue a été affichée (si null, pas de vue Parent)
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedIndex ↔ int
getter/setter pair
separator ↔ String
getter/setter pair
sublistIndex ↔ List<int>
getter/setter pair
width ↔ int
getter/setter pair

Methods

draw() → void
Fonction chargée de l'affichage sur le terminal
override
drawLoadingScreen() → void
handleInput() → Future<void>
Fonction permettant de gérer l'entrée de l'utilisateur
override
initState() → Future<void>
Fonction d'initialisation de la vue
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() → Future<void>
Fonction appelée par Navigator.display(), combine affichage et gestion des entrées
override
toString() → String
A string representation of this object.
inherited
updateData() → void
Fonction permettant de mettre à jour l'affichage sur la page parente si des changements sont à déployer
inherited

Operators

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

Static Properties

footerText ↔ String
getter/setter pair
headerText ↔ String
getter/setter pair