PoliceLicensePlateInput constructor

PoliceLicensePlateInput({
  1. Key? key,
  2. required double size,
  3. PoliceLicensePlate? hintPlate,
  4. dynamic onSubmitted(
    1. PoliceLicensePlate?,
    2. LicensePlateInputError?
    )?,
})

Implementation

PoliceLicensePlateInput({
  Key? key,
  required double size,
  PoliceLicensePlate? hintPlate,
  Function(PoliceLicensePlate?, LicensePlateInputError?)? onSubmitted,
}) : super(
        key: key,
        size: size,
        hintPlate: hintPlate ?? PoliceLicensePlate.from("M000125"),
        showFlag: false,
        onSubmitted: onSubmitted,
      );