MediaInsets class abstract

Safe-area and keyboard insets taken from the binding rather than from MediaQuery, which a router may strip the keyboard's inset out of. It notifies when either changes.

Implemented types
Available extensions

Constructors

MediaInsets()

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyboardInset → double
Height the keyboard covers, in logical pixels.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewPadding → EdgeInsets
The system's safe-area padding in logical pixels.
no setter

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
subscribe(VoidCallback callback) → VoidCallback

Available on Listenable, provided by the ListenableExtension extension

Adds callback as listener and returns a function to remove it.
toString() → String
A string representation of this object.
inherited

Operators

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