faob-dev / flutter_circular_text

Flutter circular text widget
MIT License
104 stars 20 forks source link

Feature: multiple labels #2

Closed volgin closed 4 years ago

volgin commented 4 years ago

Great plugin!

It would be awesome to be able to set multiple text labels, each with its own position property (e.g. start angle OR end angle OR center angle).

Alternatively, or in addition, multiple labels can be rendered using spacing property (start, end, space around, space evenly) - similar to columns / rows. Also, similar to other Flutter widgets this widget can have ‘children’ property for multiple text labels.

faob-dev commented 4 years ago

Hi i added multi text and StartAngleAlignment property

With StartAngleAlignment.start text will starts from startAngle StartAngleAlignment.center text will be centered on startAngle
StartAngleAlignment.end text will ends on startAngle

Please see video demo here startAngle = 0 and i changed StartAngleAlignment property https://youtu.be/_gjOuFTpLts

Is this what you wanted in first part?

volgin commented 4 years ago

Very impressive! Thank you!