KaeruResponsiveWidget extension

Responsive widget visibility extensions. Example: Text('Mobile only').xsOnly(context)

on

Methods

lgOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on large screens.
lgUp(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on large screens and up.
mdDown(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on medium and large screens.
mdOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on medium screens.
mdUp(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on medium screens and up.
smDown(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on small and medium screens.
smOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on small screens.
smUp(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on small screens and up.
xlOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on extra large screens.
xsDown(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Chainable visibility: xsDown, smUp, mdDown... Shows the widget on extra small and small screens.
xsOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Only show on specific breakpoints Shows the widget only on extra small screens.