ResizeEvent class
Represents an event when the screen is resized.
Constructors
- ResizeEvent.new({required Size oldContentSize, required Size newContentSize})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- heightChanged → double
-
Gets the change in height after the resize.
no setter
- newContentSize → Size
-
The new content size after the resize.
final
- oldContentSize → Size
-
The old content size before the resize.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widthChanged → double
-
Gets the change in width after the resize.
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