Skip to content

Urvish24/flutter-animted-cart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_animated_cart

Animated page library.

Fancy Gif

Getting Started

Add the plugin (pub coming soon):

dependencies:
  ...
  flutter_animated_cart: ^0.0.1

Basic Usage

Adding the widget

  @override
  Widget build(BuildContext context) {
    return AnimatedCartScaffold(
                    mainPage: HomePage(), // Your HomePage class
                    mainPageColor: Colors.white, // put your Homepage color
                    cartPage: CartPage(),  // Your cart page class
                    cartImage: Image.asset( "lib/res/images/cart.png", width: 25, height: 25),
                    menuImage: GestureDetector(
                                           onTap: () => {}, // menuIcon click
                                           child: const Icon(Icons.menu_sharp,size: 25),
                                         ), 
                    titleWidget: const Text( "Home", // Main page toolbat title
                           style: TextStyle(fontSize: 23, fontWeight: FontWeight.bold),
                         ),
                );
  }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages