Created
April 22, 2021 06:34
-
-
Save LittleFireflies/e59875d915efb5e85b5811ffa05c1107 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scrollbar( | |
isAlwaysShown: true, | |
controller: ScrollController(), | |
child: Container( | |
height: 150, | |
padding: const EdgeInsets.only(bottom: 16), | |
child: ListView( | |
scrollDirection: Axis.horizontal, | |
children: place.imageUrls.map((url) { | |
return Padding( | |
padding: const EdgeInsets.all(4.0), | |
child: ClipRRect( | |
borderRadius: BorderRadius.circular(10), | |
child: Image.network(url), | |
), | |
); | |
}).toList(), | |
), | |
), | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment