isComplex property

  1. @override
bool get isComplex
override

Whether this decoration is complex enough to benefit from caching its painting.

Implementation

@override
bool get isComplex => boxShadow != null;