numberInputs method
Return outputs fields for the plate number + series
Implementation
@override
List<Widget> numberInputs() {
return [
Text(
LicensePlate.toEng(licensePlate.firstSeriesPart),
textAlign: TextAlign.left,
style: TextStyle(
height: 1.18,
fontSize: fontSize,
fontFamily: "RoadNumbers",
package: "russian_license_plate",
),
),
Expanded(
child: Center(
child: Text(
licensePlate.numberAsString,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: fontSize,
fontFamily: "RoadNumbers",
package: "russian_license_plate",
),
),
),
),
Text(
LicensePlate.toEng(licensePlate.secondSeriesPart),
textAlign: TextAlign.right,
style: TextStyle(
fontSize: fontSize,
fontFamily: "RoadNumbers",
package: "russian_license_plate",
),
),
];
}