ExpandedBoundsContext class

Layout information passed to an ExpandableAnimationMode when it resolves the bounds of the expanded view.

Annotations

Constructors

ExpandedBoundsContext({required Size overlaySize, required EdgeInsets padding, required Rect sourceRect, EdgeInsets viewInsets = EdgeInsets.zero})
Creates layout information for resolving expanded bounds.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
overlaySize → Size
The size of the navigator overlay that hosts the expanded view.
final
padding → EdgeInsets
The safe-area padding of the overlay, such as notches, status bars and system gesture areas. Taken from MediaQueryData.padding.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeArea → Rect
The overlay bounds with padding removed.
no setter
sourceRect → Rect
The bounds of the source widget, in the overlay's coordinate space, at the moment the expansion started.
final
viewInsets → EdgeInsets
The parts of the overlay obscured by system UI such as the on-screen keyboard. Taken from MediaQueryData.viewInsets.
final
visibleArea → Rect
The overlay bounds with both padding and viewInsets removed: the area that is neither under system bars nor under the keyboard.
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.
override

Operators

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