FlLinkStyle constructor
const
FlLinkStyle({
- Color? color,
- bool useGradient = false,
- LinearGradient? gradient,
- required double lineWidth,
- required FlLineDrawMode drawMode,
- required FlLinkCurveType curveType,
Implementation
const FlLinkStyle({
this.color,
this.useGradient = false,
this.gradient,
required this.lineWidth,
required this.drawMode,
required this.curveType,
}) : assert(
useGradient == false || gradient != null,
'Gradient must be provided if useGradient is true',
);