update method

  1. @override
void update(
  1. double deltaTime,
  2. Size size
)
override

Implementation

@override
void update(double deltaTime, Size size) {
  gradient.update(deltaTime);
  _buildGradient();
  _buildRect(size);
  _buildPaint();
  super.update(deltaTime, size);
}