name property
String
get
name
Implementation
String get name {
if (this == TWBorderWidthValue.width1) {
return '';
}
final number =
toString().split('.').last.substring(5); // remove 'span' prefix
return number;
}