PlatformerReadoutStyle constructor

const PlatformerReadoutStyle({
  1. TextStyle text = const TextStyle(color: Color(0xFFFFFFFF), fontSize: 18.0),
  2. Color dim = const Color(0x66FFFFFF),
  3. 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.

Implementation

const PlatformerReadoutStyle({
  this.text = const TextStyle(color: Color(0xFFFFFFFF), fontSize: 18.0),
  this.dim = const Color(0x66FFFFFF),
  this.pipSize = 10.0,
});