How can i get an image next to a Text?
I think your should search fultter docs and library more this is a basic requirement and they have provided it nicely:
Widget _getUserDetailsWidget() {
var assetImage = AssetImage("assets/png/cat.jpg");
var image = new Image(image: assetImage, height: 96.0, width: 96.0, fit: BoxFit.fitWidth,);
final ListTile listTile = new ListTile(title: new Text("Silent Sudo"),
leading: image, subtitle: new Text("Location: India"));
return listTile;
}
Replace new Container() => _getUserDetailsWidget()