flutter_parallax_scroll 0.0.1
flutter_parallax_scroll: ^0.0.1 copied to clipboard
A package for creating beautiful parallax scrolling effects with customizable speed and direction
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.1 - 2024-01-01 #
Added #
- Initial release of Flutter Parallax Scroll package
ParallaxScrollViewwidget for wrapping scrollable contentParallaxScrollItemwidget for applying parallax effects to individual itemsParallaxScrollControllerfor managing parallax state and configurationParallaxConfigclass for fine-tuning parallax behaviorParallaxDirectionenum with four direction options:forward- Same direction as scrollreverse- Opposite direction to scrollhorizontal- Horizontal movement on vertical scrollvertical- Vertical movement on horizontal scroll
- Extension methods for easy integration:
.withParallax()- Wrap widgets with parallax scroll view.asParallaxItem()- Apply parallax effects to widgets
- Comprehensive example app demonstrating all features
- Full test coverage for all components
- Detailed documentation and API reference
Features #
- Customizable speed multiplier (0.0 to 2.0)
- Enable/disable parallax effects
- Additional offset support
- Scroll direction and state detection
- Performance optimized with efficient scroll detection
- Support for both horizontal and vertical scrolling
- Multiple parallax layers with different speeds