Tools extension

Extension providing utility properties for ZapInterface.

on

Properties

bottomBarHeight double

Available on ZapInterface, provided by the Tools extension

Returns the height of the device's bottom navigation bar.
no setter
context BuildContext

Available on ZapInterface, provided by the Tools extension

Returns the current BuildContext using the navigator key.
no setter
currentTheme ThemeData

Available on ZapInterface, provided by the Tools extension

Returns the current ThemeData of the app.
no setter
deviceOrientation Orientation

Available on ZapInterface, provided by the Tools extension

no setter
height double

Available on ZapInterface, provided by the Tools extension

Returns the height of the device screen.
no setter
isAccessibilityEnabled bool

Available on ZapInterface, provided by the Tools extension

Returns whether the device has accessibility features enabled.
no setter
isDarkMode bool

Available on ZapInterface, provided by the Tools extension

Indicates whether the app is currently in dark mode.
no setter
locale Locale?

Available on ZapInterface, provided by the Tools extension

Returns the current locale of the app.
no setter
pixelDensity double

Available on ZapInterface, provided by the Tools extension

Returns the device pixel density.
no setter
platform TargetPlatform

Available on ZapInterface, provided by the Tools extension

Returns the current platform of the device (iOS, Android, etc.).
no setter
platformVersion String

Available on ZapInterface, provided by the Tools extension

Returns the version of the operating system on the device.
no setter
safeAreaHeight double

Available on ZapInterface, provided by the Tools extension

Returns the height of the device's safe area.
no setter
safeAreaWidth double

Available on ZapInterface, provided by the Tools extension

Returns the width of the device's safe area.
no setter
statusBarHeight double

Available on ZapInterface, provided by the Tools extension

Returns the height of the device's status bar.
no setter
systemInsets EdgeInsets

Available on ZapInterface, provided by the Tools extension

Returns the system insets of the device.
no setter
systemLocale Locale

Available on ZapInterface, provided by the Tools extension

Returns the system locale of the device.
no setter
textScaleFactor double

Available on ZapInterface, provided by the Tools extension

Returns the text scale factor of the device.
no setter
topBarHeight double

Available on ZapInterface, provided by the Tools extension

Returns the height of the device's top app bar.
no setter
width double

Available on ZapInterface, provided by the Tools extension

Returns the width of the device screen.
no setter

Static Properties

Available on ZapInterface, provided by the Tools extension

A key for accessing the navigator state.
getter/setter pair