nuts_activity_indicator 0.1.0 nuts_activity_indicator: ^0.1.0 copied to clipboard
Highly customizable activity indicator (spinner) based on the activity indicator from the cupertino package.
nuts_activity_indicator
#
This package is part of the nuts_and_bolt
package.
The "Nuts and bolts" packages are based on the official cupertino
and material
widgets with greater customizability. It exposes the nuts and bolts of the original widgets (I'm great at naming things, I know).
The nuts_activity_indicator
package is based on the cupertino
library's CupertinoActivityIndicator
widget.
Do you like this package? ⭐️ Star it on GitHub. 💌 Drop me a message on LinkedIn 🐦 Tweet me @serial_dev
.
Usage #
-
Add
nuts_activity_indicator
as dependency in yourpubspec.yaml
. -
Import the package in the file where you would like to use the activity indicator.
import 'package:nuts_activity_indicator/nuts_activity_indicator.dart';
-
Use the widget. Read the API reference to see all currently supported parameters.
NutsActivityIndicator( activeColor: Colors.indigo, inactiveColor: Colors.blueGrey, tickCount: 24, relativeWidth: 0.4, radius: 60, startRatio: 0.7, animationDuration: Duration(milliseconds: 500), ),
Example app #
The video is much more interesting than the screenshot. Download it here ~1.7 MB.
Resources #
- Read the source code
- Report an issue
- 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.