hasDrawableContent property

  1. @override
bool hasDrawableContent
override

Whether this Drawable would be visible if drawn.

Implementation

@override
bool get hasDrawableContent =>
    (fill?.width ?? 0.0) + (stroke?.width ?? 0.0) > 0.0;