animated_rotating_widget 0.0.2 copy "animated_rotating_widget: ^0.0.2" to clipboard
animated_rotating_widget: ^0.0.2 copied to clipboard

Looking to rotate your widget continuously with a specified duration? AnimatedRotatingWidget is your solution. Just provide the duration and the widget will continuously rotate.

Animated Rotating Widget #

Looking to rotate your widget continuously with a specified duration? AnimatedRotatingWidget is your solution. Just provide the duration and the widget will continuously rotate.

Image

Getting Started #

Add this to your package's pubspec.yaml file

dependencies:
  animated_rotating_widget: ^0.0.2

Usage #

Next, you just have to import the package using:

import 'package:animated_rotating_widget/animated_rotating_widget.dart';
  Widget build(BuildContext context) {
    return AnimatedRotatingWidget(
      duration: Duration(milliseconds: 1500),
      child: Icon(
        Icons.star,
        size: 50,
        color: Colors.amber,
      ),
    );
  }

Contributing #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

4
likes
140
pub points
82%
popularity

Publisher

unverified uploader

Looking to rotate your widget continuously with a specified duration? AnimatedRotatingWidget is your solution. Just provide the duration and the widget will continuously rotate.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on animated_rotating_widget