Open nullskill opened 1 year ago
Sorry for the late reply. Yes, this would be nice to have.
The orientation feature would require the following:
setOrientation
. Hint: preview_api/lib/src/preview_api_service.dartsetOrientation
, this channel method would be handled by the preview and platform code. Hint: packages/monarch_definitions/lib/monarch_channels.dartMonarchBinding
would have to listen to that stream. Hint: packages/monarch/lib/src/preview/monarch_binding.dart
It would be nice to have an option to change device window orientation from portrait to landscape and vice versa.