I am writing a flutter app that suppose to have a row with icon and text but for some reason I can't put the text in the same line as the icon vertically wise. What I mean is that I want to have an icon, than in the same line a text but the text is a little bit higher than the icon. Someone know how can I fix it?. (I need to have the row because I want to put more things in the line).
my code:
Column(
children: [
Container(
height: size.height * .04,
color: NotificationColor,
child: Row(
children: [
Wrap(
spacing: size.width * .040,
children: [
const Icon(CupertinoIcons.bell),
Text(
"Notification", // this is the text that is higher then the icon
style: TextStyle(
fontSize: size.width * .035,
),
),
],
),
],
),
),
SizedBox(height: size.height * .01),
Container(),
SizedBox(height: size.height * .01),
Container(),
],
),