FastThemeBlocEvent constructor

const FastThemeBlocEvent({
  1. required FastThemeBlocEventType type,
  2. 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,
});