DateTimeEditingController.fromValue constructor

DateTimeEditingController.fromValue(
  1. TextEditingValue value, {
  2. String locale = 'pt_br',
  3. String dateFormat = 'dd/MM/yyyy HH:mm',
  4. String mask = 'B#/D#/#### A#:C#',
})

Implementation

DateTimeEditingController.fromValue(
  super.value, {
  String locale = 'pt_br',
  String dateFormat = 'dd/MM/yyyy HH:mm',
  String mask = 'B#/D#/#### A#:C#',
}) : super.fromValue(
        validator: DateTimeValidator(
          locale: locale,
          dateFormat: dateFormat,
          mask: mask,
        ),
      );