MaterialTestWidget constructor

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

Implementation

const MaterialTestWidget(
    {super.key,
    required this.child,
    this.platform,
    this.themeMode = ThemeMode.dark,
    this.localizationsDelegates,
    this.lightTheme,
    this.darkTheme});