SvgNumeric constructor
Implementation
factory SvgNumeric(String value, SvgBrush? brush) {
final r = RegExp(r'([-+]?[\d\.]+)\s*(px|pt|em|cm|mm|in|%|)')
.allMatches(value)
.first;
return SvgNumeric.value(
double.parse(r.group(1)!), brush, _svgUnits[r.group(2)]!);
}