animated_category 0.0.2

Flutter Android iOS web

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);
1
likes
80
pub points
32%
popularity

Flutter library for picking category

Homepage

Documentation

API reference

Uploader

emigrantdd@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on animated_category