flutter_carousel_widget 4.0.1
flutter_carousel_widget: ^4.0.1 copied to clipboard
A carousel for Flutter with ten composable effects, autoplay, indicators, content-sized pages, keyboard navigation and screen-reader support, on widgets.dart alone.
Changelog #
4.0.1 #
- Docs: the README has its Contributors section back, with a contributors badge, and its Contributing section points to Issues, Discussions and SECURITY.md.
- Docs: links to MIGRATION.md, CONTRIBUTING.md and the other repository files are absolute, so they work on pub.flutter-io.cn, which drops relative ones.
- Fixed: indicator dots were 20 by 12 pixel tap targets. Each is now one
spacingwide and 48 pixels tall, growing towards the items so none of it falls off the carousel, and the defaultspacingis 24 pixels, the smallest target WCAG 2.2 allows. PassSlideIndicatorStyle(spacing: 20)for the 4.0.0 look. - Fixed: turning
infiniteon or off moved the carousel to another item, becausePageViewreported a page clamped to the old extent; it now keeps the current item and reports no change. - Chore: the pubspec homepage is the live demo, and CI now requires 100% line coverage.
- Example: the demo is redesigned for every screen, from a 320-pixel phone to an ultrawide: the preview never scrolls away, the options sit in collapsible cards that summarise their values while closed, and wide screens give the options a panel of their own. The controller's buttons move under the preview they drive.
4.0.0 #
A rewrite on Flutter 3.47 and widgets.dart alone. MIGRATION.md maps every 3.x symbol.
- Breaking: Flutter 3.47 or newer (Dart
^3.13.0); no Material import, so a Cupertino or plainWidgetsAppno longer pulls Material in through this package. - Breaking: constructor parameters replace
FlutterCarouselOptionsandExpandableCarouselOptions; oneFlutterCarouselControllerdrives both widgets, and its methods return futures. - Added: ten composable effects (enlarge, fade, parallax, depth, zoomOut, stack, coverflow, cube, flip, rotate) and
CarouselEffect.builder(#26). - Added: autoplay with per-item intervals, pausing on touch, hover, focus, a covered route, the background, offstage tabs and reduced motion;
stopAutoPlaystays stopped. - Added: keyboard navigation, screen-reader semantics and announcements; tappable, labelled indicator dots (#31).
- Added:
CarouselEdgeAlignment.flushfor flush first and last items with centred middle ones (#58). - Added:
index,positionand change notifications on the controller (#39). - Fixed: keyed items keep their state when the list changes, and
keepAlivekeeps scrolled-away pages (#16, #65). - Fixed: the controller detaches on dispose instead of crashing (#59); no PageController leaks on rebuild.
- Fixed: the indicator follows the drag without lag (#62) and mirrors under RTL (#66).
- Fixed:
ExpandableCarouselkeeps item heights when items are added (#60), reaches the last item's height withpadEnds: false(#48), and lets small images fill the page (#29). - Fixed: enlarge scales once, autoplay never runs to page -1 in reverse, trackpads drag, and a finite carousel no longer animates a wrap on its last dot.
3.1.1 #
- Chore: Added automated pub.flutter-io.cn release pipeline (version check, tag, publish) via GitHub Actions.
3.1.0 #
3.0.1 #
- Improvement: Added comments to the classes, controllers, states, options, enums, and indicators.
- Improvement: Formatted the code to pass static analysis.
- Documentation: Removed demo
gifto reduce package size.
3.0.0 #
- Breaking Change: New
FlutterCarouselOptionsintroduced forFlutterCarousel. - Breaking Change: New
FlutterCarouselControllerintroduced forFlutterCarousel. - Breaking Change: New
FlutterCarouselStateintroduced forFlutterCarousel. - Breaking Change: New
ExpandableCarouselOptionsintroduced forExpandableCarousel. - Breaking Change: New
ExpandableCarouselControllerintroduced forExpandableCarousel. - Breaking Change: New
ExpandableCarouselStateintroduced forExpandableCarousel. - Documentation: Updated the documentation to include breaking changes.
- Fix:
issue #52fixed. - Fix:
issue #51fixed. - Fix:
issue #50fixed. - Fix:
issue #48fixed. - Fix:
issue #38fixed. - Fix:
issue #37fixed. - Improvement: Performance improvements.
2.3.0 #
- Breaking Change: New
ExpandableCarouselOptionsintroduced forExpandableCarousel. - Breaking Change: New
ExpandableCarouselControllerintroduced forExpandableCarousel. - Breaking Change: New
ExpandableCarouselStateintroduced forExpandableCarousel. - Breaking Change: All slide indicator properties have been consolidated into the
SlideIndicatorOptionsclass. - Enhancement:
issue #44Added optional halo effect for slide indicators, customizable viaSlideIndicatorOptionsproperties (enableHalo,haloPadding,haloDecoration). - Chore: Removed dead code.
- Fix:
issue #46fixed. - Fix:
issue #44fixed. - Fix:
issue #40fixed.
2.2.0 #
- New Feature: Support for custom slide indicators added.
- Documentation: Updated the documentation to show all contributors.
- Documentation: Updated the documentation to demonstrate the use of custom slide indicator.
- Fix:
issue #28fixed. - Fix:
issue #30fixed. - Improvement: Performance improvements.
- Optimization: Removed unnecessary codes.
2.1.2 #
- Documentation: Updated the documentation to display the screenshots.
2.1.1 #
- Documentation: Updated the documentation to display the screenshots.
2.1.0 #
- Fix:
issue #27LICENSE updated to MIT. - Fix:
issue #24fixed. - Fix:
issue #22fixed. - Fix:
issue #20fixed. - Fix:
issue #17fixed. - Improvement: Performance improvements.
2.0.4 #
- Optimization: Removed unnecessary codes.
2.0.3 #
- Improvement: Removed unnecessary dependencies.
- Fix: All known bug fixed and removed.
- Improvement: Performance improvements.
- Optimization: Removed unnecessary codes.
2.0.2 #
- Add:
indicatorMarginproperty added toCarouselOptions. - Improvement: Removed unnecessary dependencies.
- Fix: All known bug fixed and removed.
- Improvement: Performance improvements.
- Optimization: Removed unnecessary codes.
2.0.1 #
- Documentation: Updated the documentation to reflect the new Github Pages deployment.
- Fix: All known bug fixed and removed.
2.0.0+1 #
- Fix: Enums are now exported.
- New Feature:
ExpandableCarouselwidget added. - Breaking Change:
scrollPhysicsis nowphysicsinCarouselOptions. - Breaking Change:
carouselControlleris nowcontrollerinCarouselOptions. - Breaking Change: Project architecture changed.
- Fix: All known bug fixed and removed.
- Improvement: Performance improvements.
- Optimization: Removed unnecessary codes.
2.0.0 #
- New Feature:
ExpandableCarouselwidget added. - Breaking Change:
scrollPhysicsis nowphysicsinCarouselOptions. - Breaking Change:
carouselControlleris nowcontrollerinCarouselOptions. - Breaking Change: Project architecture changed.
- Fix: All known bug fixed and removed.
- Improvement: Performance improvements.
- Optimization: Removed unnecessary codes.
1.2.3 #
- Fix: bug auto play carousel is not working.
- All known bug fixed and removed.
- Performance improvements.
- Removed unnecessary codes.
1.2.2 #
- Fix:
issue #7bug show indicator when no customCarouselControlleris set andshowIndicatoris set totrueandonPageChangedis called. - Custom
CarouselControllercan be set viaCarouselOptionsproperty. - All known bugs are fixed.
- Performance improvements.
1.2.1 #
- Github Actions: Web Demo is now deployed to Github Pages
- Documentation: Updated the documentation to reflect the new Github Pages deployment
1.2.0 #
- Project structure changed.
- Minor bug fixes.
- Removed unnecessary codes.
1.1.0 #
- Minor bug fixes.
- Performance improvements.
1.0.5 #
- Minor bug fixes.
- Performance improvements.
1.0.4 #
- Minor bug fixes.
- Performance improvements.
1.0.3 #
- Minor bug fixes.
- Performance improvements.
1.0.2 #
- Option to float Slide Indicator over Carousel or to show below Carousel added.
- Screenshots updated.
- Source code optimized.
- Performance improvements.
1.0.1 #
- Web app example demo added.
- Indicator color will change according to System theme.
- Screenshots updated.
- Documentation updated.
- Source code optimized.
- Performance improvements.
1.0.0 #
- Source code optimized.
- Bug fixes.
- Performance improvements.
- Documentation updated.
0.1.5 #
- Default Slide Indicator added.
- Bug fixes.
- Performance improvements.
0.1.4 #
- Bug fixes.
- Documentation updated.
0.1.3 #
- Minor bug fixes.
0.1.2 #
- Auto-sized child support.
- Bug fixes.
0.1.1 #
- Bug fixes.
- Documentation updated.
0.1.0 #
- Pre-built Carousel indicator support added.
- Bug fixes.
- Documentation updated.
0.0.1 #
- Initial Version.