FastThemeBlocEvent constructor
const
FastThemeBlocEvent({
- required FastThemeBlocEventType type,
- ThemeMode? payload,
Creates a new theme event.
type
specifies the kind of theme action to be taken.
payload
contains additional data needed for the event (e.g. ThemeMode
).
Implementation
const FastThemeBlocEvent({
required FastThemeBlocEventType super.type,
super.payload,
});