inputTypesWithSelectionRangeSupport top-level constant

List<String> const inputTypesWithSelectionRangeSupport

A list of the type attribute values for an HTML <input> element that implement TextInputElementBase.

Necessary because of the circular inheritance hierarchy in Dart's InputElement class structure.

See: github.com/dart-lang/sdk/issues/22967

Implementation

const List<String> inputTypesWithSelectionRangeSupport = [
  'search',
  'text',
  'url',
  'tel',
  'email',
  'password',
  'number',
];