GiantToadResolution class

The baseline logical dimensions for a GiantToadGame.

Giant Toad preserves width by default and expands the visible logical height to match the available display. Use a fixed viewport explicitly when a game requires a locked aspect ratio.

Constructors

GiantToadResolution({required double width, required double height})

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
The baseline logical height used by an explicitly fixed viewport.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
The fixed logical width of the game's canvas.
final

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