try to use Expanded instead of Container in _buildImageBoxes() function
Widget _buildImageBoxes() {
return Column(
children: <Widget>[
Expanded(
child: Image.network("https://picsum.photos/500/500/?random"),
),
Container(
padding: EdgeInsets.all(10),
child: Text("Text"),
)
],
);
}
Related Contents:
- Generate SHA-1 for Flutter/React-Native/Android-Native app
- Couldn’t locate lint-gradle-api-26.1.2.jar for Flutter project
- how to solve Execution failed for task ‘:app:compileFlutterBuildDebug’
- How to build signed apk from Android Studio for Flutter
- How to solve SocketException: Failed host lookup: ‘www.xyz.com’ (OS Error: No address associated with hostname, errno = 7)
- How to show/hide password in TextFormField?
- How can I add a border to a widget in Flutter?
- How to format DateTime in Flutter
- Create a rounded button / button with border-radius in Flutter
- How to pass a message from Flutter to Native?
- When do I use setState in Flutter?
- How to create Expandable ListView in Flutter
- How to deal with unwanted widget build?
- Flutter: Scrolling to a widget in ListView
- How to change Android minSdkVersion in flutter project
- Flutter – Wrap text on overflow, like insert ellipsis or fade
- How to show/hide widgets programmatically in Flutter
- Flutter: RenderBox was not laid out
- How to add a ListView to a Column in Flutter?
- Could not GET ‘play-services-location/maven-metadata.xml’. Received status code 502 from server: Bad Gateway
- Multidex issue with Flutter
- Flutter run error : You have not accepted the license agreements
- Flutter Projects & Android X Migration Issues
- How can I navigate between 2 classes, one of them requires passing data? in flutter
- Flutter TextFormField hidden by keyboard
- How to create dropown list in flutter where data comes from API?
- How do I run code in the background, even with the screen off?
- How to add image in Flutter
- I am getting error “cmdline-tools component is missing” after installing Flutter and Android Studio… I added the Android SDK. How can I solve them?
- InkWell not showing ripple effect
- Flutter : How to change Android minSdkVersion in Flutter Project?
- How do I make an http request using cookies on flutter?
- TextField inside of Row causes layout exception: Unable to calculate size
- Flutter: Expanded vs Flexible
- Flutter apps are too big in size
- Scroll Function In Flutter Web
- Vertical viewport was given unbounded height
- How to create GridView Layout in Flutter
- Custom AppBar Flutter
- Sizing elements to percentage of screen width/height
- Flutter: upgrade the version code for play store
- Flutter Insecure http is not allowed by platform
- Flutter Insecure http is not allowed by platform
- Problems in Android repository Flutter TensorFlow-lite by Bintray 502
- How to add debug symbols to build.gradle
- Flutter: “RenderFlex children have non-zero flex but incoming height constraints are unbounded”
- Flutter: How to open Drawer programmatically
- Flutter: BottomNavigationBar rebuilds Page on change of tab
- how to animate collapse elements in flutter
- How to use BottomNavigationBar with Navigator?