Create a round progress

Gautier Siclon
Gautier Siclon

Co-founder, Apparence.io

Flutter tips · Published on

Want to give your linear progress bars a smoother look in Flutter? It's really simple to add rounded corners.

How to Make it Round

The trick is to wrap your LinearProgressIndicator widget inside another widget called ClipRRect.

Using ClipRRect

ClipRRect helps you clip the corners of its child widget based on a radius you set. You use the borderRadius property to tell it how round you want the corners to be.

ClipRRect(
  borderRadius: BorderRadius.all(Radius.circular(10)),
  child: LinearProgressIndicator(
    minHeight: 14,
    value: progress,
    color: Colors.red,
    backgroundColor: Colors.white,
  ),
)

Inside the Code

  • borderRadius: BorderRadius.all(Radius.circular(10)): This is where the magic happens. Radius.circular(10) tells Flutter to make all four corners round with a radius of 10 units.
  • child: LinearProgressIndicator(...): This is the progress bar itself.
    • minHeight: 14: Sets the height (or thickness) of the progress bar.
    • value: progress: This should be a number between 0.0 and 1.0 that shows how complete the task is.
    • color: Colors.red: Sets the color of the progress bar itself.
    • backgroundColor: Colors.white: Sets the color of the track behind the progress bar.
Wrapping Up

By just adding ClipRRect around your LinearProgressIndicator, you can easily give it nice rounded edges, making your app's UI look more polished.

Save 3 months of work

One command. Pick your modules. Firebase or Supabase auto-configured. Start building what matters.

kickstarter for flutter apps

Frequently Asked Questions

How do I make a progress bar round in Flutter?

Wrap your LinearProgressIndicator widget with a ClipRRect widget and set the borderRadius property.

What does ClipRRect do?

It clips its child widget into a rounded rectangle shape.

What does BorderRadius.circular(10) mean?

It tells the ClipRRect to make all corners rounded with a radius of 10 units.

Can I control the height of the progress bar?

Yes, you can use the minHeight property of the LinearProgressIndicator.

Read more
You may also be interested in
Made by ApparenceKit logo
Featured on Twelve Tools
ApparenceKit is a flutter start kit | template generator tool by Apparence.io © 2026.
All rights reserved