Skip to content
pubscout

nuts_activity_indicator

1.0.0, released 4 years ago by dartside.dev

Highly customizable iOS-style activity indicator (spinner) widget.

WASM-ready
$ flutter pub add nuts_activity_indicator
Source repository

What it does

The nuts_activity_indicator package provides a customizable spinner widget based on Flutter's CupertinoActivityIndicator. It allows developers to configure colors, ticker count, width, size, and animation duration.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a customizable iOS-style spinner widget.
  • A task is running and cannot be quantified with a remaining time or percentage.

Skip it when

  • You have a task with a known progress percentage where a linear or circular progress indicator is more appropriate.

Strengths

  • Offers greater customizability than the standard CupertinoActivityIndicator.
  • Supports colors, tick count, relative width, radius, and animation speed customization.

Weaknesses

  • Limited to a single spinner widget purpose.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Simply add the dependency to pubspec.yaml and import the package.

final spinner = NutsActivityIndicator(
    activeColor: Colors.indigo,
    inactiveColor: Colors.blueGrey,
    tickCount: 24,
    relativeWidth: 0.4,
    radius: 60,
    startRatio: 0.7,
    animationDuration: Duration(milliseconds: 500),
);

Alternatives

Packages that do the same job and could replace nuts_activity_indicator.