state property

The curren state of the device preview.

Implementation

DevicePreviewState get state => _state;
void state=(DevicePreviewState value)

Update the state with value and notifies all listeners of a change.

Implementation

set state(DevicePreviewState value) {
  _state = value;
  notifyListeners();
}