edgeStyle property
edgeStyle
Set the style of the edges of the LinearGauge Container.
default is to edgeStyle =
LinearEdgeStyle.bothCurve`
Note : It tells to which edge of the linear gauge to apply the supplied borderRadius. It has no use if borderRadius is not supplied or is zero.
const LinearGauge(
linearGaugeBoxDecoration: LinearGaugeBoxDecoration(
linearGradient: LinearGradient(
colors: [Colors.blue, Colors.pink],
borderRadius: 10.0,
edgeStyle: LinearEdgeStyle.bothCurve,
),
),
),
Implementation
final LinearEdgeStyle? edgeStyle;