How to add a ListView to a Column in Flutter?
I’ve got this problem too. My solution is use Expanded widget to expand remain space. Column( children: <Widget>[ Expanded( child: horizontalList, ) ], );
I’ve got this problem too. My solution is use Expanded widget to expand remain space. Column( children: <Widget>[ Expanded( child: horizontalList, ) ], );
You can add the Text as a child to a Container that has a BoxDecoration with border property: Container( margin: const EdgeInsets.all(15.0), padding: const EdgeInsets.all(3.0), decoration: BoxDecoration( border: Border.all(color: Colors.blueAccent) ), child: Text(‘My Awesome Border’), )