Skip to content
pubscout

m3_carousel

2.1.5, released 5 weeks ago by an unverified publisher

A Material Design 3 carousel implementation for Flutter.

WASM-readyUses material_ui
$ flutter pub add m3_carousel
Source repository

What it does

Provides a Flutter implementation of the Material Design 3 carousel component, supporting hero, contained, and uncontained layouts. It offers horizontal and vertical scrolling, custom alignment, and theme extensions for customization.

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

Use it when

  • You need Material Design 3 compliant carousels in your Flutter application.
  • You want to display hero, contained, or uncontained carousel layouts with configurable axes.

Skip it when

  • Your project cannot use the material_ui package dependency.
  • You need simple standard page views or list views without M3 carousel specifications.

Strengths

  • Supports multiple M3 carousel types (hero, contained, uncontained, fullScreen).
  • Allows horizontal or vertical scrolling directions.
  • Theme customization via M3CarouselTheme extensions.

Weaknesses

  • Requires the material_ui package instead of standard package:flutter/material.dart imports.
  • Strict Dart and Flutter version constraints.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Add material_ui and m3_carousel to your pubspec.yaml and replace standard material imports with material_ui.

import "package:m3_carousel/m3_carousel.dart";
import "package:material_ui/material_ui.dart";

M3Carousel(
  type: M3CarouselType.hero,
  heroAlignment: M3HeroAlignment.center,
  axis: Axis.horizontal,
  children: List<M3CarouselItem>.generate(10, (int index) {
    return M3CarouselItem(
      image: Image.asset("assets/i${index % 6 + 1}.png", fit: BoxFit.cover),
      title: Text("Item $index"),
    );
  }),
);

Alternatives

Packages that do the same job and could replace m3_carousel.

Works with

Packages commonly used together with m3_carousel: ones it builds on, ones built on it, and its own family.