device property
PreviewDevice
get
device
The device this platform previews on.
Implementation
PreviewDevice get device => PreviewDevice.of(this);
The device this platform previews on.
PreviewDevice get device => PreviewDevice.of(this);