rotating_icon_button 1.0.0 copy "rotating_icon_button: ^1.0.0" to clipboard
rotating_icon_button: ^1.0.0 copied to clipboard

Flutter package for rotating and smoothly animating any child widget of its own when tapped.

example/example.md

Example #

Media Player - an example of basic implementation of RotatingIconButton. Simple project that simulates a media player. As usual, the player needs backward and forward buttons. Thanks to the RotatingIconButton package, it is so easy to create buttons with rotating animations that perfectly fit the situation.

Mixed Buttons - an example of basic implementation of RotatingIconButton. Simple project that shows many RotatingIconButton in different types and shapes. It is mainly created to show you the power of this widget and help you to understand how to customize your buttons through using this widget.


main.dart

// Import RotatingIconButton
import 'package:rotating_icon_button/rotating_icon_button.dart';

@override
Widget build(BuildContext context) {
    // Call the RotatingIconButton widget anywhere in your widget tree.
    return RotatingIconButton(
      onTap: () {},
      elevation: 10.0,
      shadowColor: Colors.pink,
      borderRadius: 20.0,
      rotateType: RotateType.semi,
      clockwise: false,
      padding: const EdgeInsets.symmetric(
        vertical: 10,
        horizontal: 40,
      ),
      background: Colors.grey,
      child: const Icon(
        Icons.navigation,
        color: Colors.pink,
      ),
    );
}

19
likes
160
points
104
downloads

Publisher

verified publisherbbkdevelopment.com

Weekly Downloads

Flutter package for rotating and smoothly animating any child widget of its own when tapped.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rotating_icon_button