mirror of
https://github.com/Iconica-Development/flutter_image_picker.git
synced 2025-05-18 19:53:45 +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
|
@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].
|
||||||
|
|
Loading…
Reference in a new issue