create method

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

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

Implementation

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