DoubleArrowDrawable constructor

DoubleArrowDrawable({
  1. Paint? paint,
  2. double? arrowHeadSize,
  3. required double length,
  4. required Offset position,
  5. double rotationAngle = 0,
  6. double scale = 1,
  7. Set<ObjectDrawableAssist> assists = const <ObjectDrawableAssist>{},
  8. Map<ObjectDrawableAssist, Paint> assistPaints = const <ObjectDrawableAssist, Paint>{},
  9. bool locked = false,
  10. bool hidden = false,
})

Creates a new DoubleArrowDrawable with the given length, paint and arrowHeadSize.

Implementation

DoubleArrowDrawable({
  Paint? paint,
  this.arrowHeadSize,
  required double length,
  required Offset position,
  double rotationAngle = 0,
  double scale = 1,
  Set<ObjectDrawableAssist> assists = const <ObjectDrawableAssist>{},
  Map<ObjectDrawableAssist, Paint> assistPaints =
      const <ObjectDrawableAssist, Paint>{},
  bool locked = false,
  bool hidden = false,
})  : paint = paint ?? ShapeDrawable.defaultPaint,
      super(
          length: length,
          position: position,
          rotationAngle: rotationAngle,
          scale: scale,
          assists: assists,
          assistPaints: assistPaints,
          locked: locked,
          hidden: hidden);