joanpablo / reactive_forms

This is a model-driven approach to handling form inputs and validations, heavily inspired in Angular's Reactive Forms
MIT License
464 stars 86 forks source link

Update ReactiveDropdownField to use newer DropdownMenu #462

Open cappyccino opened 2 weeks ago

cappyccino commented 2 weeks ago

Environment

Package version: 17.0.1 / latest

Description

What you'd like to happen:

Flutter released an updated version of DropdownButton, called DropdownMenu. Its API is slightly different, but it simplifies the logic and fixes some styling issues like multiline dropdown items. There's a basic migration guide on the DropdownButton docs.

It would be great to update the ReactiveDropdownField to use the new widget under the hood, or at least allow for the option to use it.

vasilich6107 commented 2 weeks ago

@cappyccino

Not sure if updating ReactiveDropdownField if possible cause it will introduce breaking change which will affect lot's of users.

check https://pub.dev/packages/reactive_dropdown_menu

hammonjj commented 1 week ago

@vasilich6107 Couldn't this just be part of another version which requires an upgrade from other users? Breaking changes between library versions aren't uncommon