text property
Color
get
text
Implementation
Color get text => type.value == ToastType.filled
? Colors.white
: _color(variant.value, type.value);
Color get text => type.value == ToastType.filled
? Colors.white
: _color(variant.value, type.value);