nuts_activity_indicator 0.1.1

Flutter Android iOS web

Highly customizable activity indicator (spinner) based on the activity indicator from the cupertino package.

nuts_activity_indicator #

dartsidedev

Pub

The nuts_activity_indicator package is based on the cupertino library's 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),
),
Flutter package nuts_activity_indicator

The video is much more interesting than the screenshot. Download it here ~1.7 MB.

Do you like this package?

This package is one of the many nuts_and_bolts packages.

Usage #

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),
),

Resources #

For help getting started with Flutter, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
110
pub points
78%
popularity

Publisher

dartside.dev

Highly customizable activity indicator (spinner) based on the activity indicator from the cupertino package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on nuts_activity_indicator