animated_category 0.0.1 copy "animated_category: ^0.0.1" to clipboard
animated_category: ^0.0.1 copied to clipboard

outdated

Flutter library for picking category

animated_category_view #

Flutter library for picking category

Example #

Or you can check full example video in files video.mp4 GitHub Logo

Getting Started #

First you need to add a library to pubspec.yaml:

dependencies:
  animated_category: any

Add to you files where used:

import 'package:animated_category/animated_category.dart';

Usage #

AnimatedCategory<MyData>(
          childBuilder: (MyData item) {
            print(item.img);
            return Card(
              child: Image.network(item.img),
            );
          },
          startSize: itemSize,
          deltaSizeFirstTap: itemSize / 3,
          deltaSizeSecondTap: itemSize * 1.8,
          items: categories,
          itemSelected: (SuggestionItem i) {
            _incrementCounter();
          },
        )

All fields:

 const AnimatedCategory(
      {Key key,
      @required this.childBuilder,
      @required this.items,
      @required this.itemSelected,
      this.setClickedItemDelay = false,
      this.clickedItemDelay = 100,
      this.startSize = 100.0,
      this.deltaSizeSecondTap = 200.0,
      this.deltaSizeFirstTap = 50.0,
      this.itemAnimationDuration = 400,
      this.itemCurve = Curves.bounceInOut,
      this.stackAnimatedDuration = 600,
      this.stackCurve = Curves.easeInOutQuint})
      : super(key: key);
7
likes
0
pub points
19%
popularity

Publisher

unverified uploader

Flutter library for picking category

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on animated_category