buildDependencies method

  1. @override
void buildDependencies()

Gradients depends on their shape.

Implementation

@override
void buildDependencies() {
  super.buildDependencies();
  shapePaintContainer?.addDependent(this);
}