isTransparent method
Returns true if the color of this paint is transparent.
Implementation
bool isTransparent() {
return _paint.color == mat.Colors.transparent;
//return paint.color == ui.Color(FlutterColor.getColor(Color.TRANSPARENT));
}
Returns true if the color of this paint is transparent.
bool isTransparent() {
return _paint.color == mat.Colors.transparent;
//return paint.color == ui.Color(FlutterColor.getColor(Color.TRANSPARENT));
}