validateRange property

bool Function(dynamic start, dynamic end)? validateRange
final

For example,

RangeInput(
  ...
  id="range-input",
  validateRange: (start, end) {
     if (start < end) {
       return true;
     }
       return false;
   },
)

Implementation

final bool Function(dynamic start, dynamic end)? validateRange;