EmergentTheme constructor

const EmergentTheme({
  1. Key? key,
  2. required Widget child,
  3. EmergentThemeData theme = emergentDefaultTheme,
  4. EmergentThemeData darkTheme = emergentDefaultDarkTheme,
  5. ThemeMode themeMode = ThemeMode.system,
})

Implementation

const EmergentTheme({
  super.key,
  required this.child,
  this.theme = emergentDefaultTheme,
  this.darkTheme = emergentDefaultDarkTheme,
  this.themeMode = ThemeMode.system,
});