swift_slides 1.0.4
swift_slides: ^1.0.4 copied to clipboard
A highly customizable and powerful carousel widget for Flutter.
[1.0.4] - 2024-08-21
Added Multi-Item View: Introduced a multi-item view mode that allows users to display multiple items at once, enhancing the visual experience. Custom Page Indicators: Added support for custom page indicators, allowing users to create and use their own indicator widgets. Infinite Scroll Customization: Enhanced infinite scroll options with customizable transition effects and scroll speed. Interactive Tutorials: Added built-in support for interactive tutorials or onboarding sequences that can guide users through carousel features. Advanced Styling Options: Expanded styling options for carousel items and indicators, including gradient backgrounds and shadow effects. Performance Enhancements: Improved performance further with efficient item preloading and reduced memory usage. Fixed Indicator Positioning Issue: Fixed an issue where the indicator alignment was not correctly applied in some cases. Gesture Detection Bug: Resolved a bug where vertical swiping interactions were not consistently recognized on certain devices. Changed API Improvements: Refined API methods for better usability and consistency, including more intuitive parameter names and types. Updated Documentation: Provided more detailed examples and use cases in the documentation to assist with advanced configurations and customizations. Code Cleanup: Performed general code cleanup and refactoring to enhance readability and maintainability. [1.0.3] - 2024-08-21
Added Dynamic Content Support: Added support for loading carousel items dynamically from a URL or API, allowing real-time content updates. Customizable Transitions: Users can now choose from multiple transition effects (e.g., fade, zoom, rotate) between carousel items. Pause on Hover/Interaction: Auto-play pauses when the user interacts with the carousel (e.g., swiping, tapping, or hovering). Looping Control: Introduced a setting to allow/disallow infinite looping, giving users control over whether the carousel should loop indefinitely. Carousel Item Builder: Added a builder function to create custom carousel items for more complex layouts. Indicator Customization: Expanded customization options for indicators, including shapes (square, triangle), animations (bounce, scale), and positioning (top, left, right). Lazy Loading for Carousel Items: Implemented lazy loading so that only visible and adjacent items are loaded, improving performance for large carousels. Accessibility Features: Improved accessibility with ARIA roles, labels for screen readers, and better keyboard navigation support. Gesture Detection: Added gesture detection for vertical swiping and double-tap actions, allowing for additional interactions. Event Callbacks: Provided event callbacks for actions like onItemChanged, onAutoPlayStart, and onAutoPlayStop to respond to carousel events. Fixed Auto-Play Wraparound Issue: Fixed the issue where transitioning from the last item to the first was not smooth; transitions now wrap seamlessly in auto-play mode. Changed Performance Optimization: Optimized carousel performance for handling a large number of items or complex widgets, improving CPU and memory usage. State Management Cleanup: Cleaned up state management to ensure proper disposal of PageController and auto-play timer to prevent memory leaks. Error Handling: Improved error handling with meaningful messages for issues like empty item lists or invalid configurations. Documentation: Enhanced documentation with usage examples for advanced customization and integration. Responsiveness: Improved responsiveness for different screen sizes and orientations, including smaller screens and landscape mode. Backward Compatibility: Ensured new features and changes do not break backward compatibility for existing users. Test Coverage: Increased test coverage with unit tests for key features, including new ones. Widget Composition: Reviewed widget composition for reusable components to facilitate maintenance and extension. Theming Support: Added support for theming to adapt to different themes (light, dark) without manual customization. [1.0.2] - 2024-08-21
Added Added seamless looping feature to the carousel for auto-play mode. Improved performance of the carousel's page transitions. Updated documentation for better clarity. Fixed Fixed an issue where the carousel would transition step-by-step in reverse after reaching the last item. [1.0.1] - 2024-07-30
Added Auto-play feature for the carousel. Customizable indicators for the carousel. [1.0.0] - 2024-07-15
Initial release of swift_slides package with basic carousel functionality.