checkboxError property
String
checkboxError
The error text displayed when the terms are not accepted.
Default value is given in _defaultCheckboxError
.
Custom value in the constructor is assigned to _checkboxError
.
Implementation
String get checkboxError => _checkboxError ?? _defaultCheckboxError;