Merge pull request #12 from Iconica-Development/bugfix/custom_field_keyboard

fix: Keyboard doesnt close on selecting a custom inputfield
This commit is contained in:
Gorter-dev 2022-11-14 14:11:18 +01:00 committed by GitHub
commit a1e00e0980
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
);