device property

PreviewDevice get device

The device this platform previews on.

Implementation

PreviewDevice get device => PreviewDevice.of(this);