KaeruResponsiveHelpers extension

Responsive helpers on BuildContext.

on

Properties

height double

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

The height of the screen.
no setter
isLg bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is large.
no setter
isMd bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is medium.
no setter
isSm bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is small.
no setter
isXl bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is extra large.
no setter
isXs bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is extra small.
no setter
lgDown bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is large or extra large.
no setter
lgOnly bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is large.
no setter
lgUp bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is large or larger.
no setter
mdDown bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is medium or large.
no setter
mdOnly bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is medium.
no setter
mdUp bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is medium or larger.
no setter
smDown bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is small or medium.
no setter
smOnly bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is small.
no setter
smUp bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is small or larger.
no setter
width double

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

The width of the screen.
no setter
xlOnly bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is extra large.
no setter
xsDown bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Whether the screen width is extra small or small.
no setter
xsOnly bool

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Shortcuts Whether the screen width is extra small.
no setter

Methods

responsiveValue<T>({required T xs, T? sm, T? md, T? lg, T? xl}) → T

Available on BuildContext, provided by the KaeruResponsiveHelpers extension

Returns a value based on the current breakpoint.