Search code snippets, questions, articles...

Change circular progress indicator color in Flutter

To change the background color of CircularProgressIndicator in Flutter - the backgroundColor property can be used. To change indicator color valueColor property can be used.
CircularProgressIndicator(
    backgroundColor: Color(Colors.white),
    valueColor: AlwaysStoppedAnimation(Colors.red),
    strokeWidth: 3,
),
Was this helpful?
0 Comments
Programming Feeds
Learn something new everyday on Devsheet