koukibadr / Bottom-Picker

https://pub.dev/packages/bottom_picker
MIT License
32 stars 21 forks source link

Vertical alignment #49

Open domestia opened 2 years ago

domestia commented 2 years ago

Hi, like we can see on this screen the picker item Text isn't align vertically: https://github.com/koukibadr/Bottom-Picker/blob/main/example/bottom_picker_custom_picker_text_style.png?raw=true

It would be great to accep't a Widget (Center() or Align() maybe?) in items property or to add one to allow that. Wrapping picker item in an Align and add his Alignment property to BottomPicker constructor maybe?

Thanks.

koukibadr commented 2 years ago

Thanks for the suggestion I will work on it

gliden commented 6 months ago

@koukibadr To achieve this, only two changes are required. I will open a PR.

koukibadr commented 6 months ago

A new version has been published