AsyncValidationIndicator constructor
AsyncValidationIndicator({
- Key? key,
- required CompanionPresenterMixin presenter,
- required String propertyName,
- String? text,
- double? height,
Initializes a new AsyncValidationIndicator.
Specify presenter and propertyName to create indicator for the
specified property in the presenter.
The propertyName should be used for the form field which handles input
for the property.
Implementation
AsyncValidationIndicator({
super.key,
required CompanionPresenterMixin presenter,
required String propertyName,
this.text,
this.height,
}) : _hasPendingAsyncValidationListener =
presenter.getPropertyPendingAsyncValidationsListener(propertyName);