buildErrorMessage property
For example,
RangeInput(
...
id="range-input",
buildErrorMessage: (start, end) {
return const Text(
'Custom error $start > $end',
style: TextStyle(
color: Colors.yellowAccent,
fontSize: 20.0,
),
);
},
)
Implementation
final Widget Function(dynamic start, dynamic end)? buildErrorMessage;