gamification_wheel 0.1.3
gamification_wheel: ^0.1.3 copied to clipboard
A fully customizable gamification wheel Flutter widget with Clean Architecture and BLoC pattern. Perfect for games, decision-making, and interactive applications.
Changelog #
All notable changes to this project will be documented in this file.
0.1.3 - 2025-06-27 #
🐛 Bug Fixes #
- Fixed Null Safety Issues: Resolved null safety-related errors that were occurring despite default values being set
- Dio Dependency Removed: Removed unused Dio dependency to reduce package size and improve performance
- Fixed Unused Parameter Warnings: Resolved "unused_element_parameter" warnings for callback functions
- Removed Unused Dependencies: Completely removed all references to
freezed,json_serializable,build_runner, andfreezed_annotationfrom the codebase and documentation
✨ New Features #
- Custom Spin Button: Added support for custom spin button widgets via
customSpinButtonparameter - Custom Pointer: Added support for custom pointer widgets via
customPointerparameter - Enhanced Customization: Improved widget customization options for better user experience
🔧 Technical Improvements #
- Better Null Safety: Improved null safety implementation throughout the widget
- Code Optimization: Enhanced code structure and performance optimizations
- Parameter Validation: Better parameter validation and error handling
- Documentation Cleanup: Developer and user documentation has been simplified and cleaned up to remove all references to removed dependencies and to improve clarity
0.1.2 - 2025-06-27 #
📝 Documentation #
- Corrected release date in CHANGELOG.md
- Minor content improvements for pub.dev compatibility
0.1.1 - 2025-06-27 #
📝 Documentation #
- Corrected release date in CHANGELOG.md
- Minor improvements to documentation and demo GIF visibility
0.1.0 - 2025-06-27 #
✨ Initial Release #
- Customizable Wheel Widget: Fully customizable spinning wheel widget for Flutter.
- Weighted Probability: Each segment can have a different probability (weight) for selection.
- Smooth Animations: Visually appealing, high-performance spinning animation.
- Dynamic Segments: Add, edit, or remove segments at runtime.
- Custom Colors: Set any color for each segment using hex codes.
- Responsive Design: Works on all screen sizes (mobile, web, desktop).
- Easy Integration: Plug-and-play widget, no external state management required.
- Modern UI: Material 3 design, customizable pointer, center widget, and more.
- Null Safety: 100% null-safe and compatible with the latest Flutter versions.
- Tap to Spin: Tap the wheel or use a button to spin.
- Result Consistency: The segment shown under the pointer always matches the result displayed.
- Gambling Warning: Explicit warning that the package is not for gambling/betting.
- Demo GIF: Demo GIF added to README via GitHub raw link for pub.dev visibility.
Technical Features #
- Self-contained widget, no BLoC or Provider required.
- Weighted random algorithm for fair segment selection.
- Modular and clean code structure.
- Well-documented public API.