PositionReadout constructor

const PositionReadout({
  1. Key? key,
  2. required RacerProgress racer,
  3. required RaceState race,
  4. ReadoutStyle style = const ReadoutStyle(),
  5. List<String> ordinals = const <String>['st', 'nd', 'rd'],
  6. String otherwise = 'th',
})

Implementation

const PositionReadout({
  super.key,
  required this.racer,
  required this.race,
  this.style = const ReadoutStyle(),
  this.ordinals = const <String>['st', 'nd', 'rd'],
  this.otherwise = 'th',
});