WindowSizeEvent class final

Reports window size in cells and optional pixels.

Inheritance

Constructors

WindowSizeEvent({required int width, required int height, int widthPx = 0, int heightPx = 0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height int
final
heightPx int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
final
widthPx int
final

Methods

bounds() Rectangle
Returns bounds corresponding to the cell size.
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.
inherited