numberInputs method

  1. @override
List<Widget> numberInputs()
override

Return outputs fields for the plate number + series

Implementation

@override
List<Widget> numberInputs() {
  return [
    Text(
      LicensePlate.toEng(licensePlate.series),
      textAlign: TextAlign.left,
      style: TextStyle(
        height: 1.18,
        fontSize: fontSize,
        fontFamily: "RoadNumbers",
        package: "russian_license_plate",
      ),
    ),
    Center(
      child: Text(
        licensePlate.numberAsString,
        textAlign: TextAlign.right,
        style: TextStyle(
          fontSize: fontSize,
          fontFamily: "RoadNumbers",
          package: "russian_license_plate",
        ),
      ),
    ),
  ];
}