m3_carousel 1.0.0
m3_carousel: ^1.0.0 copied to clipboard
A flutter implementation of the Material Design 3 carousel (https://m3.material.io/components/carousel/overview).
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add m3_carousel
With Flutter:
$ flutter pub add m3_carousel
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
m3_carousel: ^1.0.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:m3_carousel/m3_carousel.dart';