CupertinoActivityIndicator — All Cupertino Widgets
In this series, we look at the whole Cupertino package of Flutter. You will get to know every widget, important class, and much more in this series. All the articles will be less than 2 minutes long, so you can read them every time :) In addition to that, they will be very easy to understand, following the motto
Make everything as simple as possible, but not simpler. ~ Albert Einstein
If you want to check out the other articles of this series, check out this list. Let’s get started!
CupertinoActivityIndicator is the Cupertino Widget of the Material
CupertinoActivityIndicator spins clockwise in a slightly grey tone, but you can change its color with the
color property. You can freeze its animation by setting
animating property to
false and determining its size with
radius. That’s all you have to know about
CupertinoActivityIndicator. But what if you want to have fine-grained control? For this, you can use the
progress property. This determines the percentage of spinner ticks that will be shown. Let’s take a look at an example:
Further reading & Conclusion
In this article, you have learned how to use the CupertinoActivityIndicator Widget.
Did you know that there are great packages that enhance your development enormously? For example Freezed, Isar, or Flutter Hooks. If you want to learn about these great packages, I have entire tutorials about them. Check them out here.
In the following few articles, I will introduce more Cupertino widgets, elementary classes, and more stuff. If you don’t want to miss this, I recommend you follow me!
Thanks for reading, have a nice day!