v2.1.5m3_carousel
Material Design 3 카루셀(https://m3.material.io/components/carousel/overview)의 플러터 구현입니다.
Material Design 3 카루셀(https://m3.material.io/components/carousel/overview)의 플러터 구현입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A flutter implementation of the Material Design 3 carousel.
Built on the CarouselView.
Hero carousel with support for "left", "center" and "right" alignments.
Contained carousel. Extended view inclusive.
Uncontained carousel.
Horizontal or vertical scrolling via axis.
In your pubspec.yaml
dependencies:
m3_carousel: ^2.1.4 # requires Dart => ^3.12.0, Flutter >=3.38.0
import "package:m3_carousel/m3_carousel.dart";
M3Carousel(
type: CarouselType.hero,
heroAlignment: HeroAlignment.center,
axis: Axis.horizontal,
onTap: (int tapIndex) => log(tapIndex.toString()),
children: List<Widget>.generate(10, (int index) {
return ColoredBox(
color: Colors.primaries[index % Colors.primaries.length]
.withValues(alpha: 0.8),
child: const SizedBox.expand(),
);
}),
),
See example/lib/main.dart for complete examples.
Use of CarouselView is govern by the Flutter Authors LICENSE
MIT license
의존성 목록 4 개
^1.18.0{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗