FastAppSettingsBlocEvent class

The settings bloc event. This event is used to dispatch events to the settings bloc. It can be used to initialize the bloc, change the language code or the theme.

Inheritance

Constructors

FastAppSettingsBlocEvent.countryCodeChanged(String? countryCode)
Constructor for the countryCodeChanged event.
FastAppSettingsBlocEvent.init()
Constructor for the init event.
const
FastAppSettingsBlocEvent.initialized(FastAppSettingsBlocEventPayload payload)
Constructor for the initialized event.
const
FastAppSettingsBlocEvent.languageCodeChanged(String languageCode)
Constructor for the languageCodeChanged event.
FastAppSettingsBlocEvent.primaryCurrencyCodeChanged(String primaryCurrencyCode)
Constructor for the primaryCurrencyCodeChanged event.
FastAppSettingsBlocEvent.saveEntryChanged(bool saveEntry)
Constructor for the saveEntryChanged event.
FastAppSettingsBlocEvent.secondaryCurrencyCodeChanged(String secondaryCurrencyCode)
Constructor for the secondaryCurrencyCodeChanged event.
FastAppSettingsBlocEvent.themeChanged(String theme)
Constructor for the themeChanged event.
FastAppSettingsBlocEvent.use24HourFormatChanged(bool use24HourFormat)
Constructor for the use24HourFormatChanged event.

Properties

error Object?
The error of the event.
finalinherited
forceBuild bool
Indicates whether the bloc builder can force rendering.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
payload FastAppSettingsBlocEventPayload?
The payload of the event.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type FastAppSettingsBlocEventType?
The type of the event.
finalinherited

Methods

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