spinning_wheel 0.0.6
spinning_wheel: ^0.0.6 copied to clipboard
A customizable and animated spinning wheel for Flutter, perfect for games, lucky draws, and prize wheels.
0.0.1 #
- initial draft of the fortune wheel.
0.0.2 #
- SetState issue of view fixed.
0.0.3 #
0.0.4 #
- Added
backgroundparameter toSpinnerWheelfor custom background widgets. - Added
shouldDrawBackgroundto toggle background visibility. - Added weighted probability support (
probabilityfield inWheelSegment). - Added performance optimizations (
RepaintBoundary) for smoother animations. - Made
coloroptional inWheelSegment(defaults to random color).
0.0.5 #
- Dual Image Support: Pass both local asset paths and Network URLs (e.g.,
https://...) toWheelSegment. - Improved
image_loaderlogic to automatically detect and fetch network images. - Documentation Update: Added comprehensive Dartdoc comments to improve pub.dev score.
0.0.6 #
- Advanced Label Styling: Introduced
WheelLabelStyleclass for professional label configuration. - Text Rotation: Added
anglesupport inWheelLabelStyleto allow manual rotation of segment labels. - API Refactoring: Renamed
labelStyle(TextStyle) andlabelDesignConfigto the unifiedWheelLabelStyleobject for better extensibility.