Skip to content
pubscout

flutter_carousel_slider

1.1.0, released 4 years ago by an unverified publisher

Carousel slider widget with infinite sliding, custom indicators and animations

WASM-ready
$ flutter pub add flutter_carousel_slider
Source repository

What it does

Provides a customizable carousel slider for Flutter. Supports infinite mode, custom slide transforms, indicators, and callbacks for slide events.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Need a carousel with infinite looping
  • Require custom slide transforms or indicators
  • Want callbacks for slide start/end

Skip it when

  • You need a highly performant, low‑memory carousel for very large lists
  • You need a carousel that integrates with state‑management libraries like Bloc or Riverpod

Strengths

  • Customizable slide transforms and indicators
  • Null safety support
  • Multiple pre‑built indicators and animations
  • Easy to use API

Weaknesses

  • Limited documentation on performance and memory usage
  • No built‑in state‑management integration
  • No support for very large item lists

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Add dependency in pubspec and import 'package:flutter_carousel_slider/carousel_slider.dart';

import 'package:flutter/material.dart';
import 'package:flutter_carousel_slider/carousel_slider.dart';

CarouselSlider.builder(
  itemCount: 5,
  slideBuilder: (index) => Container(color: Colors.red),
  slideTransform: CubeTransform(),
  slideIndicator: CircularSlideIndicator(),
);

Alternatives

Packages that do the same job and could replace flutter_carousel_slider.