BezierDrawer constructor
BezierDrawer({
- Key? key,
- required dynamic width,
- required dynamic height,
- bool interactiveMode = true,
- Color? color,
- dynamic startFraction = .6,
- dynamic endFraction = .3,
- Offset firstStopRelativeOffset = const Offset(.3, .6),
- Offset secondStopRelativeOffset = const Offset(.7, .4),
- Offset firstControlRelativeOffset = const Offset(.5, .8),
- Offset secondControlRelativeOffset = const Offset(.5, 1.1),
- 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);