menu
widgetbook2 package
documentation
widgetbook2.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.
widgetbook2 package
documentation
widgetbook2
DeviceInfoExtension extension
widgetbook2 library