m3_carousel
2.1.5, released 5 weeks ago by an unverified publisher
A Material Design 3 carousel implementation for Flutter.
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.
- flutter_speed_dial
Flutter plugin to implement a Material Design Speed Dial with labels and animated icons.
92Compare - cupertino_calendar_picker
Cupertino-style date and time picker widgets for Flutter
84Compare - backdrop
Backdrop widget that overlays a front layer over a back layer with animated reveal/conceal.
50Compare - loading_icon_button
Flutter loading buttons with state machine, success/error states and animated thinking-orbs.
69Compare
Works with
Packages commonly used together with m3_carousel: ones it builds on, ones built on it, and its own family.