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})
A style drawing in text, white at 18 by default, with spent lives in dim and pips pipSize logical pixels across.
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
The style of the purse's lines; its colour is also the colour of a life left in LivesStrip, so it must have one.
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