diegoveloper / flutter_percent_indicator

Flutter percent indicator library
BSD 2-Clause "Simplified" License
677 stars 206 forks source link

linearGradientBackgroundColor doesn't work #201

Closed pen110 closed 1 year ago

pen110 commented 1 year ago

Expanded( child: LinearPercentIndicator( animation: true, lineHeight: 20.0, animationDuration: 2500, percent: 0.8, // center: Text("80.0%"), barRadius: Radius.circular(10.r), progressColor: const Color(0xFF850C12), linearGradientBackgroundColor: const LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [ Color(0xFF2D0000), Color(0xFF460701), Color(0xFF300000), ], ), )),