FastThemeBlocState constructor

FastThemeBlocState({
  1. bool isInitialized = false,
  2. bool isInitializing = false,
  3. ThemeMode themeMode = ThemeMode.system,
  4. Brightness? brightness,
})

Constructs a FastThemeBlocState.

isInitialized and isInitializing are inherited from BlocState and represent the initialization status of the state. themeMode defaults to ThemeMode.system if not provided. brightness is optional and can be null.

Implementation

FastThemeBlocState({
  super.isInitialized,
  super.isInitializing,
  this.themeMode = ThemeMode.system,
  this.brightness,
});