menu
widgetbook package
documentation
widgetbook.dart
DeviceInfoExtension extension
DeviceInfoExtension extension
dark_mode
light_mode
DeviceInfoExtension
extension
on
DeviceInfo
Properties
canRotate
→
bool
Indicates whether the device can rotate.
no setter
Methods
isLandscape
(
Orientation
orientation
)
→
bool
Indicates whether the current device info should be in landscape.
widgetbook package
documentation
widgetbook
DeviceInfoExtension extension
widgetbook library