PlatformerReadoutStyle class final
How a game wants its readouts drawn.
Constructors
- PlatformerReadoutStyle({TextStyle text = const TextStyle(color: Color(0xFFFFFFFF), fontSize: 18.0), Color dim = const Color(0x66FFFFFF), double pipSize = 10.0})
-
const
Properties
- dim → Color
-
A life already spent, and anything the player is not being asked to look
at.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pipSize → double
-
How big one life's pip is, in logical pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → TextStyle
-
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