paintChild abstract method

void paintChild(
  1. int i,
  2. {Matrix4 transform,
  3. double opacity = 1.0}
)

Paint the ith child using the given transform.

The child will be painted in a coordinate system that concatenates the container's coordinate system with the given transform. The origin of the parent's coordinate system is the upper left corner of the parent, with x increasing rightward and y increasing downward.

The container will clip the children to its bounds.

Implementation

void paintChild(int i, { Matrix4 transform, double opacity = 1.0 });