SizedBox(
child: TextButton(
onPressed: () {
print("You pressed");
},
child: Text(
'1 Song 1 3:45',
style: TextStyle(
color: Colors.green,
fontSize: 20,
fontWeight: FontWeight.w700,
backgroundColor: Colors.yellow,
),
),
),
),
I want to give radius to this sizedbox someone explain how should I ?
The SizedBox dont have have this property, you can use Container instead
if you want to add a radius to you button , do it like this