@@ -23,12 +23,7 @@ class _BottomNavStyle3 extends StatelessWidget {
2323 child: Column (
2424 mainAxisAlignment: MainAxisAlignment .center,
2525 children: < Widget > [
26- Expanded (
27- child: IconTheme (
28- data: IconThemeData (size: item.iconSize, color: isSelected ? (item.activeColorSecondary ?? item.activeColorPrimary) : item.inactiveColorPrimary ?? item.activeColorPrimary),
29- child: isSelected ? item.icon : item.inactiveIcon ?? item.icon,
30- ),
31- ),
26+ Expanded (child: isSelected ? item.icon : item.inactiveIcon ?? item.icon),
3227 if (item.title == null )
3328 const SizedBox .shrink ()
3429 else
@@ -64,30 +59,6 @@ class _BottomNavStyle3 extends StatelessWidget {
6459 padding: navBarEssentials.padding,
6560 child: Column (
6661 children: < Widget > [
67- Row (
68- children: < Widget > [
69- AnimatedContainer (
70- duration: navBarEssentials.itemAnimationProperties.duration,
71- curve: navBarEssentials.itemAnimationProperties.curve,
72- color: Colors .transparent,
73- width: navBarEssentials.selectedIndex == 0 ? MediaQuery .of (context).size.width * 0.0 : itemWidth * navBarEssentials.selectedIndex,
74- height: 4 ,
75- ),
76- Flexible (
77- child: AnimatedContainer (
78- duration: navBarEssentials.itemAnimationProperties.duration,
79- curve: navBarEssentials.itemAnimationProperties.curve,
80- width: itemWidth,
81- height: 4 ,
82- alignment: Alignment .center,
83- decoration: BoxDecoration (
84- color: selectedItemActiveColor,
85- borderRadius: BorderRadius .circular (100 ),
86- ),
87- ),
88- )
89- ],
90- ),
9162 Expanded (
9263 child: Padding (
9364 padding: const EdgeInsets .only (top: 5 ),
0 commit comments