enableSmartDashes method
Indicates how to handle the intelligent replacement of dashes in text input
Using boolean
Equivalent to
TextFormField(
smartDashesType: input ? SmartDashesType.enabled : SmartDashesType.disabled
)
Implementation
NikuTextField enableSmartDashes([bool value = true]) {
_smartDashesType =
value ? SmartDashesType.enabled : SmartDashesType.disabled;
return this;
}