BuildContextExtension extension

Extension on the BuildContext class providing additional functionality related to UI building.

on

Properties

deviceHeight → double

Available on BuildContext, provided by the BuildContextExtension extension

Retrieves the height of the device screen.
no setter
deviceWidth → double

Available on BuildContext, provided by the BuildContextExtension extension

Retrieves the width of the device screen.
no setter
isDarkMode → bool

Available on BuildContext, provided by the BuildContextExtension extension

Indicates whether the app is currently in dark mode.
no setter
isLightMode → bool

Available on BuildContext, provided by the BuildContextExtension extension

Indicates whether the app is currently in light mode.
no setter