BuildContextExtensions extension

The extensions for BuildContext that helps in development.

on

Properties

arguments Object?
Arguments of current context.
no setter
aspectRatio double
The aspect ratio of this size.
no setter
devicePixelRatio double
The number of device pixels for each logical pixel. This number might not be a power of two. Indeed, it might not even be an integer. For example, the Nexus 6 has a device pixel ratio of 3.5.
no setter
height double
The vertical extent of this size.
no setter
isLandscape bool
Whether device is wider than tall or not.
no setter
isPortrait bool
Whether device is taller than wide or not.
no setter
routeName String?
Name of current route.
no setter
theme ThemeData
App theme.
no setter
width double
The horizontal extent of this size.
no setter