TwoLettersPlate constructor
Class constructor. To obtain the original aspect ratio of a real license plate, only provide a value for width OR height, so it will keep the original proportion automatically. If a value is provided for these two properties, then the original aspect ratio will not be take in account. If neither are provided, the value of _defaultWidth will be used.
Implementation
const TwoLettersPlate(
this.plate, {
super.key,
this.width,
this.height,
this.showLocality = true,
this.locality = 'BRASIL',
this.category = TwoLettersPlateCategory.particular,
this.backgroundColor,
this.borderColor,
this.textColor,
this.compact = false,
});