SizeReference class

This class creates an abstraction of the MediaQuery class creates simple access to the height and width params;

Constructors

SizeReference(BuildContext context)
This class creates an abstraction of the MediaQuery class creates simple access to the height and width params;

Properties

context BuildContext
The current context on the widget tree;
final
h → dynamic
Returns the vertical extent of this size.
no setter
hashCode int
The hash code for this object.
no setterinherited
height → dynamic
Returns the vertical extent of this size.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
w → dynamic
Returns the horizontal extent of this size.
no setter
width → dynamic
Returns the vertical extent of this size.
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