DrawableShape constructor

const DrawableShape(
  1. String? id,
  2. Path path,
  3. DrawableStyle style, {
  4. Float64List? transform,
})

Creates a new DrawableShape.

Implementation

const DrawableShape(this.id, this.path, this.style, {this.transform})
    : assert(path != null), // ignore: unnecessary_null_comparison
      assert(style != null);