ElementsProperties constructor

const ElementsProperties(
  1. Color mainColor, {
  2. required Shape? shape,
  3. Offset offset = Offset.zero,
  4. double heightFactor = 1,
  5. double? widthFactor,
  6. int? angle,
  7. ElementsProperties? child,
})

Implementation

const ElementsProperties(
  this.mainColor, {
  required this.shape,
  this.offset = Offset.zero,
  this.heightFactor = 1,
  this.widthFactor,
  this.angle,
  this.child,
})  : assert(widthFactor == null || widthFactor >= 0),
      assert(heightFactor >= 0);