getInputFormatters method

List<TextInputFormatter>? getInputFormatters()
inherited

Implementation

List<TextInputFormatter>? getInputFormatters() {
  switch (type) {
    case 'number':
      return [];
  }
  return null;
}