GeneralLibFlutterAppMain constructor

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

Implementation

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