percentErrorRenderer property
- @Input()
getter/setter pair
Function that allows clients to use their own error messages instead of the default.
Implementation
// In case the client wants to override the errors we need to intercept the
// value instead of material-input so that we can use the percent errors as
// needed.
@Input()
Map<String, dynamic> Function(Map<String, dynamic>?)? percentErrorRenderer;