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

An animated carousel swiper supporting adding and removing of items.

license issues

Dynamic Carousel is a flutter package that implements a manual swiping carousel. The carousel allows deletion and adding images with a custom slider which displays and hides based on input.

Preview #

Features #

Getting started #

Add the package to the yaml file.

dynamic_carousel: latestversion

Import the package to your widget tree before using it

import 'package:dynamic_carousel/dynamic_carousel.dart';

Usage #

NB this package is still in production and so is the documentation

List<Widget> carouselItems = [
    Container(
        width: double.maxFinite,
        height: double.maxFinite,
        color: Colors.green,
    ),
    Container(
        width: double.maxFinite,
        height: double.maxFinite,
        color: Colors.blue,
    ),
];


DynamicCarousel(
    animationDuration: Duration(milliseconds: 250),
    onDelete: (index) {
        carouselItems.removeAt(index);
    },
    children: carouselItems,
),

Additional information #

Contribute to the widget on Github.

8
likes
0
pub points
69%
popularity

Publisher

unverified uploader

An animated carousel swiper supporting adding and removing of items.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dynamic_carousel