kevlatus / flutter_fortune_wheel

Visualize random selections with Flutter widgets like the wheel of fortune.
https://kevlatus.github.io/flutter_fortune_wheel
MIT License
110 stars 84 forks source link

Question: ¿How can I align the selected item with the alignment of the Indicator? #78

Closed kevingamboa17 closed 2 years ago

kevingamboa17 commented 2 years ago

This is just a simple question, ¿How can I align the selected item with the alignment of the Indicator?

Already edit the alignment of the Indicator

FortuneIndicator(
                    alignment: Alignment.centerRight, // <-- changing the position of the indicator
                    child: TriangleIndicator(
                      color: Colors.white54, // <-- changing the color of the indicator
                    ),
                  ),

But the selected item still align to topCenter? how can I change that value? 🤔

btw congratulations and thanks on the project it has everything i need 🙌🏾 (only this little question 🙈 )

IMG_ABED4C766854-1 ?

kevlatus commented 2 years ago

Hi @kevingamboa17, this is now included in v1.2.0 by using the FortuneWheel.alignment parameter