FastThemeBlocState class

Inheritance
  • Object
  • TModel
  • BlocState
  • FastThemeBlocState

Constructors

FastThemeBlocState({ThemeMode themeMode = ThemeMode.system, Brightness? brightness})

Properties

brightness Brightness?
final
error → dynamic
Whether the bloc has an error.
finalinherited
hasError bool
Indicates whether the bloc has an error.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isBusy bool
Whether the bloc is busy.
finalinherited
isInitialized bool
Whether the bloc is initialized.
finalinherited
isInitializing bool
Whether the bloc is initializing.
finalinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
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
themeMode ThemeMode
final
uuid String
The unique identifier of the bloc state.
finalinherited

Methods

assignValue<T>(T? value, {T? defaultValue, bool loose = true}) → T?
inherited
clone() FastThemeBlocState
Creates a copy of this TModel.
override
copyWith({ThemeMode? themeMode, Brightness? brightness}) FastThemeBlocState
Creates a copy of this TModel but with the given fields replaced with the new values.
override
copyWithDefaults() → TModel
inherited
merge(covariant FastThemeBlocState model) FastThemeBlocState
Creates a new TModel where each properties from this object has been merged with the matching properties from the other object.
override
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