PositionReadout constructor
const
PositionReadout({
- Key? key,
- required RacerProgress racer,
- required RaceState race,
- RacingReadoutStyle style = const RacingReadoutStyle(),
- List<
String> ordinals = const <String>['st', 'nd', 'rd'], - String otherwise = 'th',
racer's place in race, drawn in style with English suffixes
unless ordinals and otherwise say otherwise.
Implementation
const PositionReadout({
super.key,
required this.racer,
required this.race,
this.style = const RacingReadoutStyle(),
this.ordinals = const <String>['st', 'nd', 'rd'],
this.otherwise = 'th',
});