TwoLettersPlate constructor

const TwoLettersPlate(
  1. String plate,
  2. {double? width,
  3. double? height,
  4. bool showLocality = true,
  5. String locality = 'BRASIL',
  6. BrazilPlateCategory category = BrazilPlateCategory.PARTICULAR}
)

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,
    {this.width,
    this.height,
    this.showLocality = true,
    this.locality = 'BRASIL',
    this.category = BrazilPlateCategory.PARTICULAR});