Skip to content

Commit a27f461

Browse files
1 parent 66b99ff commit a27f461

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

lib/widgets/home.dart

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -262,23 +262,25 @@ class _NavigationBarButton extends StatelessWidget {
262262
splashFactory: NoSplash.splashFactory,
263263
highlightColor: designVariables.navigationButtonBg,
264264
onTap: onPressed,
265-
child: Column(
266-
mainAxisSize: MainAxisSize.min,
267-
children: [
268-
SizedBox(height: 34,
269-
child: Center(
270-
child: Icon(icon, size: 24, color: color,))),
271-
Flexible(
272-
child: Text(
273-
label,
274-
style: TextStyle(
275-
fontSize: 12,
276-
color: color,
277-
height: 1.0,),
278-
textAlign: TextAlign.center,
279-
maxLines: 2,
280-
overflow: TextOverflow.ellipsis)),
281-
]))));
265+
child: Padding(
266+
padding: const EdgeInsets.only(bottom: 3.0),
267+
child: Column(
268+
mainAxisSize: MainAxisSize.min,
269+
children: [
270+
SizedBox(height: 34,
271+
child: Center(
272+
child: Icon(icon, size: 24, color: color,))),
273+
Flexible(
274+
child: Text(
275+
label,
276+
style: TextStyle(
277+
fontSize: 12,
278+
color: color,
279+
height: 1.0,),
280+
textAlign: TextAlign.center,
281+
maxLines: 2,
282+
overflow: TextOverflow.ellipsis)),
283+
])))));
282284
}
283285
}
284286

0 commit comments

Comments
 (0)