create method

  1. @override
DoubleArrowDrawable create(
  1. Offset position, [
  2. Paint? paint
])
override

Creates and returns a DoubleArrowDrawable with length of 0 and the passed position and paint.

Implementation

@override
DoubleArrowDrawable create(Offset position, [Paint? paint]) {
  return DoubleArrowDrawable(
      length: 0,
      position: position,
      paint: paint,
      arrowHeadSize: arrowHeadSize);
}