TimeValidator constructor

TimeValidator()

Implementation

TimeValidator()
    : super(
        <TextInputFormatter>[
          MaskTextInputFormatter(
            mask: 'AB:CB',
            filter: <String, RegExp>{
              'A': RegExp('[0-2]'),
              'B': RegExp('[0-9]'),
              'C': RegExp('[0-5]'),
            },
          ),
        ],
      );