joanpablo / reactive_forms

This is a model-driven approach to handling form inputs and validations, heavily inspired in Angular's Reactive Forms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update ReactiveDropdownField to use newer DropdownMenu

cappyccino opened this issue · comments

commented

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.

@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

@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

There is almost zero reasons to include the actual controls into the form engine bundle.
It just makes things harder to maintain