spinning_wheel 0.0.7
spinning_wheel: ^0.0.7 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. - Refactoring: Renamed
labelStyleandlabelDesignConfigto a unifiedWheelLabelStyleobject.
0.0.7 #
- Automatic Text Clipping: Added
overflowandmaxLinestoWheelLabelStylefor smart label containment. - Slice Padding: Upgraded
slicePaddingto useEdgeInsetsfor precise radial and horizontal control inside segments. - Layout Optimization: Text labels now automatically calculate available width to prevent slice overlapping.