StudyOptionsState class

O que as opções de estudo guardam. Imutável: cada mudança é um estado novo.

Inheritance

Constructors

StudyOptionsState({double? chosenSpeed, bool metronomeOn = true, bool optionsOpen = false})
const

Properties

chosenSpeed → double?
O andamento escolhido (1,0 = o escrito). null até a primeira rodada com tempo, que o põe no startSpeed do exercício.
final
hashCode → int
The hash code for this object.
no setterinherited
metronomeOn → bool
O metrônomo da rodada com tempo: ligado por padrão, na rodada inteira.
final
optionsOpen → bool
A gaveta "Opções de estudo" está aberta (celular).
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
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({double? chosenSpeed, bool? metronomeOn, bool? optionsOpen}) → StudyOptionsState
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