GeneralLibFlutterAppMain constructor

const GeneralLibFlutterAppMain({
  1. Key? key,
  2. required GeneralLibFlutterApp generalLibFlutterApp,
  3. bool isAutoInitialized = true,
  4. ThemeData lightTheme(
    1. BuildContext context,
    2. ThemeData defaultTheme
    )?,
  5. ThemeData darkTheme(
    1. BuildContext context,
    2. ThemeData defaultTheme
    )?,
  6. required Widget builder(
    1. ThemeMode themeMode,
    2. ThemeData lightTheme,
    3. ThemeData darkTheme,
    4. Widget? widget,
    ),
  7. Widget? child,
})

Implementation

const GeneralLibFlutterAppMain({
  super.key,
  required this.generalLibFlutterApp,
  this.isAutoInitialized = true,
  this.lightTheme,
  this.darkTheme,
  // required this.theme_notifier,
  required this.builder,
  this.child,
});