fortune_wheel 0.2.1
fortune_wheel: ^0.2.1 copied to clipboard
A highly customizable spinning fortune wheel widget for Flutter with advanced animations and backend integration support.
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.2.0 - 2026-01-25 #
Added #
- Enhanced Visual Features:
- Border dots configuration: Add decorative dots around wheel border with customizable size, color, border color, and spacing
- Center indicator circle: Add a circular indicator in the wheel center with customizable radius, color, and border
- Custom arrow pin widgets: New
ArrowPinandTriangleArrowPinwidgets with customizable direction, shadow, and border
- Improved Wheel Configuration:
BorderDotsConfigurationfor controlling border decoration dotsCenterIndicatorConfigurationfor center circle indicator- ArrowPin widget with customizable direction (in radians) and styling
- Enhanced Demo:
- New
EnhancedWheelDemoshowcasing advanced visual features - Demo selector for navigating between different wheel examples
- New
- iOS Platform Improvements:
- Updated AppDelegate to support FlutterImplicitEngineDelegate for better engine management
- Enhanced Info.plist with scene configuration support
- Improved multi-scene support for iOS apps
Changed #
- Curved text mode is now the default in enhanced demos for better readability
- Improved arrow pin positioning to align closer to wheel edge
- Refactored Fortune Wheel widget for smoother animations
- Added support for maintaining rotation direction in animations
- Cleaned up code formatting in WheelPainter and ArrowPin for improved readability
Fixed #
- Arrow pin direction now properly customizable, ensuring correct pointing towards the wheel
- Custom arrow pin positioning fixed to align properly with wheel edge
0.1.0 - 2024-12-19 #
Added #
- Initial release of Fortune Wheel package
- Highly customizable spinning fortune wheel widget
- Backend integration support with sequential and async modes
- Advanced animations:
- Spin to specific index with multiple rotations
- Continuous rotation mode
- Smooth deceleration with customizable curves
- Rich customization options:
- Multiple content types per slice (text, images, lines)
- Solid colors, gradients, or image backgrounds
- Configurable slice borders and colors
- Curved text support (text follows circular path)
- Straight and vertical text orientations
- Interactive features:
- Tap to select slices
- Pin/pointer indicator with multiple positions
- Collision detection with callbacks
- Comprehensive example app demonstrating all features