linearGradient property
linearGradient
Sets the gradient background of the LinearGauge Container
- NOTE : If
linearGradient
is given in LinearGaugeBoxDecoration thecolor
property will be ignored
const LinearGauge(
linearGaugeBoxDecoration: LinearGaugeBoxDecoration(
linearGradient: LinearGradient(
colors: [Colors.blue, Colors.pink],
),
),
),
Implementation
final LinearGradient? linearGradient;