MaterialTestWidget constructor

const MaterialTestWidget({
  1. Key? key,
  2. required Widget child,
  3. TargetPlatform? platform,
  4. ThemeMode? themeMode = ThemeMode.dark,
  5. Iterable<Locale> supportedLocales = const <Locale>[Locale('en', 'US')],
  6. Iterable<LocalizationsDelegate>? localizationsDelegates,
  7. ThemeData? lightTheme,
  8. ThemeData? darkTheme,
})

Implementation

const MaterialTestWidget(
    {super.key,
    required this.child,
    this.platform,
    this.themeMode = ThemeMode.dark,
    this.supportedLocales = const <Locale>[Locale('en', 'US')],
    this.localizationsDelegates,
    this.lightTheme,
    this.darkTheme});