drawOnce property

bool drawOnce
final

If the shape should be drawn once or continuously. If true, after the shape is drawn, the factory will be set back to null. If false, the user will be able to keep drawing shapes until factory is set to null explicitly.

Implementation

final bool drawOnce;