carousel_navigator 0.0.3 copy "carousel_navigator: ^0.0.3" to clipboard
carousel_navigator: ^0.0.3 copied to clipboard

An attempt to make the spotlight_carousel written by dnys1 - Dillon Nys - More flexible and responsive.

CarouselNavigator #

An attempt to make the spotlight_carousel written by dnys1 - Dillon Nys more flexible and responsive.

Simply call the SpotlightCarousel build method, and enter the required parameters.

class MyCarousel extends StatelessWidget {
  MyCarousel({this.children});
  
  @override
  Widget build(BuildContext context) {
    return SpotlightCarousel(
      children: children,
      titles: null,
      descriptions: null,
      onTapped: null,
    );
  }
}

Simply include 2 or more children for the Carousel. You may surround this with a container in order to limit the height or width.

1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

An attempt to make the spotlight_carousel written by dnys1 - Dillon Nys - More flexible and responsive.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on carousel_navigator