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