icemanbsi / searchable_dropdown

MIT License
107 stars 162 forks source link

height get changed after selection #92

Open cargoAppPOC opened 4 years ago

cargoAppPOC commented 4 years ago

height changed after value selection.

attached the screen shot bellow.

before selection Screenshot_2020-08-02-16-49-15-377_com ibsplc anacargo

after selection Screenshot_2020-08-02-16-49-22-285_com ibsplc anacargo

kanaydo commented 4 years ago

@cargoAppPOC same here, have you find any solution?

edit: i fixed this by setting selectedValueWidgetFn to text only.

selectedValueWidgetFn: (item) {
    return Align(
        alignment: Alignment.centerLeft,
        child: Text('${item.toString()}'),
    );
}
aharoldk commented 3 years ago

@kanaydo thank you so much