ShapeLayerModel constructor

const ShapeLayerModel({
  1. required String id,
  2. required String type,
  3. required double x,
  4. required double y,
  5. required String shapeType,
  6. double? width,
  7. double? height,
  8. String? fillColor,
  9. String? strokeColor,
  10. double? strokeWidth,
})

Implementation

const ShapeLayerModel({
  required super.id,
  required super.type,
  required super.x,
  required super.y,
  required this.shapeType,
  this.width,
  this.height,
  this.fillColor,
  this.strokeColor,
  this.strokeWidth,
});