PreviewThemeData constructor
- ThemeData? materialLight,
- ThemeData? materialDark,
- CupertinoThemeData? cupertinoLight,
- CupertinoThemeData? cupertinoDark,
Creates a collection of ThemeData and CupertinoThemeData instances for use in widget previews.
If a theme isn't provided for a specific configuration, no theme data will be applied and the default theme will be used.
Implementation
const PreviewThemeData({
this.materialLight,
this.materialDark,
this.cupertinoLight,
this.cupertinoDark,
});