BezierDrawer constructor

BezierDrawer({
  1. Key? key,
  2. required dynamic width,
  3. required dynamic height,
  4. bool interactiveMode = true,
  5. Color? color,
  6. dynamic startFraction = .6,
  7. dynamic endFraction = .3,
  8. Offset firstStopRelativeOffset = const Offset(.3, .6),
  9. Offset secondStopRelativeOffset = const Offset(.7, .4),
  10. Offset firstControlRelativeOffset = const Offset(.5, .8),
  11. Offset secondControlRelativeOffset = const Offset(.5, 1.1),
  12. Offset lastControlRelativeOffset = const Offset(.5, 1.5),
})

Implementation

BezierDrawer({
  Key? key,
  required this.width,
  required this.height,
  this.interactiveMode = true,
  this.color,
  this.startFraction = .6,
  this.endFraction = .3,
  this.firstStopRelativeOffset = const Offset(.3, .6),
  this.secondStopRelativeOffset = const Offset(.7, .4),
  this.firstControlRelativeOffset = const Offset(.5, .8),
  this.secondControlRelativeOffset = const Offset(.5, 1.1),
  this.lastControlRelativeOffset = const Offset(.5, 1.5),
}) : super(key: key);