Create a round progress

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

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

Create your app using our 6 years of making Flutter apps and more than 50+ apps

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
Create a custom error screen  blog card image
Create a custom error screen
Published on 2025-05-13T07:03:48.696Z
Circular avatar with border  blog card image
Circular avatar with border
Published on 2025-05-13T07:06:03.470Z
ApparenceKit is a flutter template generator tool by Apparence.io © 2025.
All rights reserved