OrientationContextExtension extension

Extension for orientation utilities on BuildContext.

on

Properties

isLandscape bool

Available on BuildContext, provided by the OrientationContextExtension extension

Whether the current orientation is landscape.
no setter
isPortrait bool

Available on BuildContext, provided by the OrientationContextExtension extension

Whether the current orientation is portrait.
no setter
optimalLegendPosition → LegendPosition

Available on BuildContext, provided by the OrientationContextExtension extension

Gets optimal legend position for current orientation.
no setter
orientation Orientation

Available on BuildContext, provided by the OrientationContextExtension extension

Gets the current orientation.
no setter