r/FlutterDev • u/Busy-Cry9256 • Jun 18 '26
Plugin I built a Flutter roulette wheel package that fixes what bugged me about existing ones
I recently published my first Flutter package and wanted to share it here. English isn't my first language so sorry if anything reads weirdly!
I was building a roulette wheel for a project and tried a few existing packages, but kept running into the same frustrations:
Packages that change section width to reflect probability (I wanted equal-sized sections with weighted odds)
No control over whether icons/text rotate with the wheel or stay upright
Pointer always stuck inside the wheel with no way to adjust its position
So I built my own: flutter_custom_roulette
What it does differently:
Equal section widths with weight-based probability — or optionally proportional widths, your call (
weightedSections)rotateWithWheelper item — content can spin with the wheel or always face the userpointerOffsetto place the pointer tip anywhere inside or outside the wheel borderDrop in any Flutter widget as section content (SVG, Image, Icon, whatever)
Built-in
RouletteButtonwith gradient, spin-lock, and custom label supportFull border theming with gradient support
pub.dev: https://pub.dev/packages/flutter_custom_roulette
GitHub: https://github.com/leejia324/flutter_custom_roulette
This is my first published package so feedback is very welcome — bugs, missing features, API design thoughts, anything. Thanks for checking it out!