CoursesHomeState class
O que a tela inicial guarda além dos serviços.
Constructors
-
CoursesHomeState({int aba = 0, List<
LoadedCourse> cursos = const [], CourseDraftCubit? rascunho, CourseProgressCubit? progressoRascunho, List<IncomingPackage> fila = const [], bool drenando = false, bool prontoParaReceber = false}) -
const
Properties
- aba → int
-
A seção à vista, pela posição na barra (0 é Treinos no aprendizado, e Alunos no
professor, que tem uma seção a mais no começo).
final
-
cursos
→ List<
LoadedCourse> -
Os cursos da lista (o embutido e os instalados); vazia enquanto carrega.
final
- drenando → bool
-
Há uma drenagem da fila em curso.
final
-
fila
→ List<
IncomingPackage> -
Os
.zywnyrecebidos do sistema, à espera da vez de instalar (um por vez).final - hashCode → int
-
The hash code for this object.
no setterinherited
- progressoRascunho → CourseProgressCubit?
-
final
- prontoParaReceber → bool
-
A primeira drenagem já esperou o atraso de
CoursesHome.incomingDelay(não abre diálogo por cima da abertura).final -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- rascunho → CourseDraftCubit?
-
O rascunho aberto (some ao fechar o app) e o progresso da sessão dele. A lista
ouve os dois; o resto dos cursos vem do disco.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{int? aba, List< LoadedCourse> ? cursos, CourseDraftCubit? rascunho, CourseProgressCubit? progressoRascunho, List<IncomingPackage> ? fila, bool? drenando, bool? prontoParaReceber}) → CoursesHomeState -
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