state property
DevicePreviewState
get
state
The curren state of the device preview.
Implementation
DevicePreviewState get state => _state;
set
state
(DevicePreviewState value)
Update the state with value
and notifies all listeners
of a change.
Implementation
set state(DevicePreviewState value) {
_state = value;
notifyListeners();
}