Closed Hendriyawan closed 2 years ago
Hi, please correct me, what wrong with my code, the progressColor is not working
LinearPercentIndicator( width: MediaQuery.of(context).size.width / 2 1.1, animation: true, animationDuration: 1000, lineHeight: 17, center: Text( (widget.course.percent 100).toString() + "%", style: GoogleFonts.montserrat( color: Colors.black45, ), ), backgroundColor: Colors.grey[200], progressColor: Colors.blue, // ignore: deprecated_member_use barRadius: const Radius.circular(20), ),
What's the percent value?
hi, the percent is double value
ah, solved, sorry, i forgot to add percent property, thank you
Hi, please correct me, what wrong with my code, the progressColor is not working
LinearPercentIndicator( width: MediaQuery.of(context).size.width / 2 1.1, animation: true, animationDuration: 1000, lineHeight: 17, center: Text( (widget.course.percent 100).toString() + "%", style: GoogleFonts.montserrat( color: Colors.black45, ), ), backgroundColor: Colors.grey[200], progressColor: Colors.blue, // ignore: deprecated_member_use barRadius: const Radius.circular(20), ),