queryAllByDisplayValue

List<DomNode> queryAllByDisplayValue(

  1. String value, {
  2. bool exact = true,
})

Finds all input elements with the given display value.

Implementation

List<DomNode> queryAllByDisplayValue(String value, {bool exact = true}) =>
    _container.querySelectorAll('input, select, textarea').where((el) {
      final displayValue = el.value;
      return exact ? displayValue == value : displayValue.contains(value);
    }).toList();