MaterialTestWidget constructor
const
MaterialTestWidget({
- Key? key,
- required Widget child,
- TargetPlatform? platform,
- ThemeMode? themeMode = ThemeMode.dark,
- Iterable<
Locale> supportedLocales = const <Locale>[Locale('en', 'US')], - Iterable<
LocalizationsDelegate> ? localizationsDelegates, - ThemeData? lightTheme,
- 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});