PreviewFrame constructor
const
PreviewFrame({
- required Widget child,
- PreviewPlatform platform = PreviewPlatform.android,
- Brightness brightness = Brightness.light,
- bool device = false,
- Key? key,
Creates a PreviewFrame.
Implementation
const PreviewFrame({
required this.child,
this.platform = PreviewPlatform.android,
this.brightness = Brightness.light,
this.device = false,
super.key,
});