createTip method

ArrowTip createTip({
  1. double tipLength = DEFAULT_ARROW_TIP_LENGTH,
  2. TipSide side = TIP_AT_END,
})

Implementation

ArrowTip createTip(
    {double tipLength = DEFAULT_ARROW_TIP_LENGTH,
    TipSide side = TIP_AT_END}) {
  var tip = getUnpositionedTip(length: tipLength);
  positionTip(tip: tip, side: side);
  return tip;
}