Optional custom painter factory used when builder is null.
final CustomPainterFactory? painterFactory;