ShapeSettings constructor

const ShapeSettings({
  1. ShapeFactory<ShapeDrawable>? factory,
  2. bool drawOnce = true,
  3. Paint? paint,
})

Creates a new instance of ShapeSettings with the given factory.

Implementation

const ShapeSettings({
  this.factory,
  this.drawOnce = true,
  this.paint,
});