BatchItem constructor
BatchItem({
- required Rect source,
- required RSTransform transform,
- Color? color,
- bool flip = false,
Implementation
BatchItem({
required this.source,
required this.transform,
Color? color,
this.flip = false,
}) : paint = Paint()..color = color ?? const Color(0x00000000),
destination = Offset.zero & source.size;