doubleTextWithoutCurrencySymbol property
String
doubleTextWithoutCurrencySymbol
return the number part of the controller as a String, formatted as a double (with .
as decimal separator).
Implementation
String get doubleTextWithoutCurrencySymbol => text != ''
? text
.replaceFirst(_symbolSeparator, '')
.replaceAll(thousandSymbol, '')
.replaceFirst(decimalSymbol, '.')
: '0';