Reputation: 37
How can i make a code of images beside text in my flutter app like this picture below: image beside text
Upvotes: 0
Views: 10580
Reputation: 1422
you need to Row widget to show image and text side by side , your problem well be in image width , so you can but the image as background image to avoid image stretch size issues , see this example :
Row(
children: <Wigdet>[
Container(
width:100,
height: 100,
decoration: BoxDecoration(
image: ImageDecoration: NetworkImage("youImageLink")
)
),
Text("your text")
]
);
Upvotes: 1