Image picker widget now scrollable if necessary

This commit is contained in:
commitimpush 2022-09-05 11:41:32 +02:00
parent c8a245b278
commit becbdb2093

View file

@ -22,7 +22,8 @@ class ImagePicker extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Wrap( return SingleChildScrollView(
child: Wrap(
children: <Widget>[ children: <Widget>[
ListTile( ListTile(
title: Text( title: Text(
@ -68,7 +69,7 @@ class ImagePicker extends StatelessWidget {
height: 60, height: 60,
), ),
], ],
); ));
} }
/// The [_generateIconButtonWithText] function returns a column that includes an [IconButton] and [Text]. /// The [_generateIconButtonWithText] function returns a column that includes an [IconButton] and [Text].