StatelessLicensePlateWidget<T extends LicensePlate> constructor

StatelessLicensePlateWidget<T extends LicensePlate>({
  1. Key? key,
  2. required T licensePlate,
  3. required double size,
  4. bool showFlag = false,
})

Implementation

StatelessLicensePlateWidget({
  Key? key,
  required this.licensePlate,
  required this.size,
  this.showFlag = false,
})  : fontSize = size * 1.2,
      super(key: key);