BetweenPathOffset.line constructor

BetweenPathOffset.line(
  1. Between<Offset> between,
  2. double width, {
  3. (Curve, Curve)? curve,
  4. StrokeCap strokeCap = StrokeCap.round,
})

constructor, factories

Implementation

// 'width' means stoke width
BetweenPathOffset.line(
  super.between,
  double width, {
  super.curve,
  StrokeCap strokeCap = StrokeCap.round,
})  : assert(strokeCap == StrokeCap.round),
      super(onAnimate: animateStadiumLine(between, width));