LiquidDate constructor Null safety

LiquidDate(
  1. {required String fieldName,
  2. required String labelText,
  3. required double fieldWidth,
  4. required String? validator(
    1. String?
    )?,
  5. required TextEditingController controller,
  6. required dynamic onSaved(
    1. String?
    )?,
  7. required dynamic onChanged(
    1. String?
    )?,
  8. required bool isEdit,
  9. OutlineInputBorder? border,
  10. Key? key}
)

Implementation

LiquidDate(
    {required this.fieldName,
    required this.labelText,
    required this.fieldWidth,
    required this.validator,
    required this.controller,
    required this.onSaved,
    required this.onChanged,
    required this.isEdit,
    this.border,
    this.key});