Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text('Reminder',style: subtitleTextStyles),
Row(
children: [
Text('VIEW ALL',style: subtitleTextStyles),
Padding(
padding: const EdgeInsets.all(8.0),
child: Container(
alignment: Alignment.center,
height: 30,
width: 30,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(30),
color: Color(0xFF8C0C14)),
child: Text(
'03',
style: TextStyle(color: primaryWhite),
),
),
),
],
)
],
),
I am unable to do as given below image Need help..
left side text with button and right side text with Round box with number with background colour only on this row..
I need Like This.. 👇👇
2
Answers
It might be coming from your scaffold’s
backgroundColor
which is grey[50] by default. You can change it on theme level or wrap the Row with Material widget and provide the white color.Or
Or
You can use ListTile to achieve this, You can check the UI output