I’m attempting to make round borders to Container widget, however Textual content widget goes outdoors of it, what’s the downside?
Code:
@override
Widget construct(BuildContext context) {
return Container(
ornament: const ShapeDecoration(
form: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.round(3))),
shade: Colours.purple),
baby: Wrap(
youngsters: [
Column(
children: [
SizedBox(
height: 90.0,
child: Image(
image: NetworkImage(product.productImageUrl),
fit: BoxFit.fitHeight)),
Text(product.productTitle,
style: const TextStyle(fontSize: 11.0)),
],
),
],
),
);
}