mirror of
https://github.com/Iconica-Development/flutter_image_picker.git
synced 2025-05-18 11:43:44 +02:00
Image picker widget now scrollable if necessary
This commit is contained in:
parent
c8a245b278
commit
becbdb2093
1 changed files with 3 additions and 2 deletions
|
@ -22,7 +22,8 @@ class ImagePicker extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Wrap(
|
||||
return SingleChildScrollView(
|
||||
child: Wrap(
|
||||
children: <Widget>[
|
||||
ListTile(
|
||||
title: Text(
|
||||
|
@ -68,7 +69,7 @@ class ImagePicker extends StatelessWidget {
|
|||
height: 60,
|
||||
),
|
||||
],
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
/// The [_generateIconButtonWithText] function returns a column that includes an [IconButton] and [Text].
|
||||
|
|
Loading…
Reference in a new issue