|
|
@ -54,16 +54,19 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
size: 22.0),
|
|
|
|
size: 22.0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 5,
|
|
|
|
height: 2,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Texts(
|
|
|
|
Texts(
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
color: currentIndex == index
|
|
|
|
color: currentIndex == index
|
|
|
|
? Theme.of(context).primaryColor
|
|
|
|
? Theme.of(context).primaryColor
|
|
|
|
: Theme.of(context).dividerColor,
|
|
|
|
: Colors.grey,
|
|
|
|
fontSize: 11,
|
|
|
|
fontSize: 11,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
height: 7,
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: authenticatedUserObject.isLogin
|
|
|
|
: authenticatedUserObject.isLogin
|
|
|
@ -103,16 +106,19 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
size: 22.0),
|
|
|
|
size: 22.0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 5,
|
|
|
|
height: 2,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Texts(
|
|
|
|
Texts(
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
color: currentIndex == index
|
|
|
|
color: currentIndex == index
|
|
|
|
? Theme.of(context).primaryColor
|
|
|
|
? Theme.of(context).primaryColor
|
|
|
|
: Theme.of(context).dividerColor,
|
|
|
|
: Colors.grey,
|
|
|
|
fontSize: 11,
|
|
|
|
fontSize: 11,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
height: 7,
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
@ -133,16 +139,19 @@ class BottomNavigationItem extends StatelessWidget {
|
|
|
|
size: 22.0),
|
|
|
|
size: 22.0),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
height: 5,
|
|
|
|
height: 2,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Texts(
|
|
|
|
Texts(
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
textAlign: TextAlign.center,
|
|
|
|
color: currentIndex == index
|
|
|
|
color: currentIndex == index
|
|
|
|
? Theme.of(context).primaryColor
|
|
|
|
? Theme.of(context).primaryColor
|
|
|
|
: Theme.of(context).dividerColor,
|
|
|
|
: Colors.grey,
|
|
|
|
fontSize: 11,
|
|
|
|
fontSize: 11,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
height: 7,
|
|
|
|
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|