nuts_activity_indicator package is based on the
CupertinoActivityIndicator widget and it offers great customizability. You can customize, for example, the color, the width and the number of the rectangles that make up the activity indicator, the speed of spinning, etc...
NutsActivityIndicator( radius: 33, activeColor: Colors.indigo, inactiveColor: Colors.red, tickCount: 11, startRatio: 0.55, animationDuration: Duration(milliseconds: 123), ),
Do you like this package?
- ⭐️ Star it on GitHub
This package is one of the many
Read the API reference to see all currently supported parameters.
// Add nuts_activity_indicator as dependency in your pubspec. import 'package:nuts_activity_indicator/nuts_activity_indicator.dart'; //... NutsActivityIndicator( activeColor: Colors.indigo, inactiveColor: Colors.blueGrey, tickCount: 24, relativeWidth: 0.4, radius: 60, startRatio: 0.7, animationDuration: Duration(milliseconds: 500), ),
- Read the source code
- Report an issue: Feel free to submit README improvements, typo fixes, too!
- Read the API reference
- Check out the Flutter example app
- Learn more about the package on pub.dev
- Ask a question
For help getting started with Flutter, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Initial release of the
Want to use the
NutsActivityIndicator in your app? See example app using it on GitHub:
Getting Started #
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: nuts_activity_indicator: ^0.1.1
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.6.1
- pana: 0.12.21
- Flutter: 1.9.1+hotfix.6
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.