MediaQueryValues extension
you can use this values like: context.width
- on
Methods
-
bottom(
BuildContext context) → double -
Available on State<
use --> context.bottom instead of --> MediaQuery.of(context).viewInsets.bottomStatefulWidget> , provided by the MediaQueryValues extension -
height(
BuildContext context) → double -
Available on State<
use --> context.height instead of MediaQuery.of(context).size.heightStatefulWidget> , provided by the MediaQueryValues extension -
toPadding(
BuildContext context) → double -
Available on State<
use --> context.toPadding instead of --> MediaQuery.of(context).viewPadding.topStatefulWidget> , provided by the MediaQueryValues extension -
width(
BuildContext context) → double -
Available on State<
use --> context.width instead of MediaQuery.of(context).size.widthStatefulWidget> , provided by the MediaQueryValues extension