mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-18 16:53:45 +02:00
fix: Keyboard doesnt close on selecting a custom inputfield
This commit is contained in:
parent
f95ee5f54c
commit
c7abd1fe96
1 changed files with 12 additions and 5 deletions
|
@ -33,12 +33,16 @@ class ItemList extends StatefulWidget {
|
|||
}
|
||||
|
||||
class _ItemListState extends State<ItemList> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
var widgets = <Widget>[];
|
||||
ItemBuilder builder = ItemBuilder(
|
||||
|
||||
late ItemBuilder builder = ItemBuilder(
|
||||
options: widget.itemBuilderOptions ?? ItemBuilderOptions(),
|
||||
);
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
|
||||
for (var item in widget.items.entries) {
|
||||
widget.itemBuilder == null
|
||||
? widgets.add(
|
||||
|
@ -71,7 +75,10 @@ class _ItemListState extends State<ItemList> {
|
|||
height: widget.spacing,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Column(
|
||||
children: widgets,
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue