DateEditingController.fromValue constructor

DateEditingController.fromValue(
  1. TextEditingValue value, {
  2. String locale = 'pt_br',
  3. String dateFormat = 'dd/MM/yyyy',
  4. String mask = 'B#/D#/####',
})

Implementation

DateEditingController.fromValue(
  super.value, {
  String locale = 'pt_br',
  String dateFormat = 'dd/MM/yyyy',
  String mask = 'B#/D#/####',
}) : super.fromValue(
        validator: DateValidator(
          locale: locale,
          dateFormat: dateFormat,
          mask: mask,
        ),
      );