StepView
StepView copied to clipboard
vertical distribution
this is a cool library, How to set the vertical distribution? thank you
This is not supported yet. Maybe in the near future if demand is enough.
yes i would also like it to have a vertical distribution and can you tell that can i add custom step numbers on the steps?
Yes, I also want it vertical.
Yes, I also want it vertical support. Are you developing this feature recently? if not yet, I hope to contribute some code if you permit. I am studying your code these days. And you can tell me where need to be careful. For example:
- how to show the step text under vertical mode. Put these text to right of circle? then how to measure the width of these text ? set a fixed value(twice as circle's diameter ) ?
Yes, that would be faster than waiting for me. As for your questions I have following suggestions based on official material guidelines https://material.io/archive/guidelines/components/steppers.html#steppers-types-of-steppers:
- Place a text on the right of a circle.
- To measure and draw the multiline text you have to use StaticLayout. You can find an example in my code.
- Do not constraint the width of text. Just draw it in multilines considering a free space of the view itself.