progress_animation_builder 1.0.0+2

Flutter Android iOS web

ProgressAnimationBuilder passes Animation<double> according to value(0.0-1.0).

progress_animation_builder #

gif

ProgressAnimationBuilder passes Animation

Usage #

ProgressAnimationBuilder(
  value: _isInitial ? 0 : 1,
  duration: Duration(milliseconds: 1000),
  curve: Curves.slowMiddle,
  builder: (context, animation) {
    return AnimatedIcon(
      size: MediaQuery.of(context).size.width * 3 / 4,
      icon: AnimatedIcons.play_pause,
      progress: animation,
    );
  },
);

Example #

0
likes
100
pub points
41%
popularity

Publisher

mono0926.com

ProgressAnimationBuilder passes Animation<double> according to value(0.0-1.0).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on progress_animation_builder