BuildMedia class

Constructors

BuildMedia(BuildContext context)
It is a simplification of the _MediaQuery.of(context) statement.

Properties

accessibleNavigation bool
return MediaQuery.of(context).accessibleNavigation
no setter
alwaysUse24HourFormat bool
return MediaQuery.of(context).alwaysUse24HourFormat
no setter
boldText bool
return MediaQuery.of(context).boldText
no setter
data MediaQueryData
return MediaQuery.of(context)
final
devicePixelRatio double
return MediaQuery.of(context).devicePixelRatio
no setter
disableAnimations bool
return MediaQuery.of(context).disableAnimations
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
return MediaQuery.of(context).size.height
no setter
heightWithoutViewInsets double
return height - viewInsets.vertical
no setter
highContrast bool
return MediaQuery.of(context).highContrast
no setter
invertColors bool
return MediaQuery.of(context).invertColors
no setter
keyboardIsVisible bool
return viewInsets.bottom > 0
no setter
return MediaQuery.of(context).navigationMode
no setter
padding EdgeInsets
return MediaQuery.of(context).padding
no setter
platformBrightness Brightness
return MediaQuery.of(context).platformBrightness
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
return MediaQuery.of(context).size
no setter
systemGestureInsets EdgeInsets
return MediaQuery.of(context).systemGestureInsets
no setter
textScaleFactor double
return MediaQuery.of(context).textScaleFactor
no setter
viewInsets EdgeInsets
return MediaQuery.of(context).viewInsets
no setter
viewPadding EdgeInsets
Do that: MediaQuery.of(_context).viewPadding
no setter
width double
return MediaQuery.of(context).size.width
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited