isComplex property
override
Whether this decoration is complex enough to benefit from caching its painting.
Implementation
@override
bool get isComplex => boxShadow != null;
Whether this decoration is complex enough to benefit from caching its painting.
@override
bool get isComplex => boxShadow != null;