infinite_card_rotation 1.0.3 copy "infinite_card_rotation: ^1.0.3" to clipboard
infinite_card_rotation: ^1.0.3 copied to clipboard

Flutter package to provide the a card infinite rotations or rotations based on argument provided by the user.

Infinite Card Rotation #

Flutter widget which gives a flip animation to It's child widgets passed to it as the front and back child.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and run dart pub get):
 dependencies:
   infinite_card_rotation: ^1.0.3
  1. Import the package and use it in your Flutter App.
import 'package:infinite_card_rotation/infinite_card_rotation.dart';

Preview #

Example: Horizontal infinite rotation on the card.

N|Solid

Example #

FlipCard(  
  onFlipDone: () {  
    print('Rotation Completed');  
  },  
 front: Container(  
    height: 200,  
  width: 200,  
  decoration: BoxDecoration(  
      shape: BoxShape.circle,  
  color: Colors.red,  
  ),  
  child: Icon(Icons.home,size: 50,),  
  ),  
  back: Container(  
    height: 200,  
  width: 200,  
  child: Icon(Icons.call,size: 50,),  
  decoration: BoxDecoration(  
      color: Colors.blue,  
  shape: BoxShape.circle,),  
  ),  
  flipCount: 10,  
  speed: 500,  
)

1
likes
160
pub points
32%
popularity

Publisher

unverified uploader

Flutter package to provide the a card infinite rotations or rotations based on argument provided by the user.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on infinite_card_rotation