Changed Navbar/Menu accent to match the overall dark red accent
This commit is contained in:
parent
f80765849f
commit
db791e4bf6
1 changed files with 13 additions and 13 deletions
|
@ -44,13 +44,13 @@ class _MenuState extends State<Menu> {
|
|||
_selectedIndex = index;
|
||||
if (index == 0) {
|
||||
_selectedWidget = const Products();
|
||||
}else if (index == 1) {
|
||||
} else if (index == 1) {
|
||||
_selectedWidget = const Products();
|
||||
}else if (index == 2) {
|
||||
} else if (index == 2) {
|
||||
_selectedWidget = const Products();
|
||||
}else if (index == 3) {
|
||||
} else if (index == 3) {
|
||||
_selectedWidget = const Products();
|
||||
}else if (index == 4) {
|
||||
} else if (index == 4) {
|
||||
_selectedWidget = const Products();
|
||||
}
|
||||
});
|
||||
|
@ -73,9 +73,9 @@ class Navigation extends StatelessWidget {
|
|||
required this.selectedIndex,
|
||||
required this.onItemPressed,
|
||||
this.height,
|
||||
this.selectedColor = const Color(0xff46BDFA),
|
||||
this.unselectedColor = const Color(0xffB5C8E7),
|
||||
this.selectedLightColor = const Color(0xff77E2FE),
|
||||
this.selectedColor = const Color(0xff8B0000),
|
||||
this.unselectedColor = Colors.white,
|
||||
this.selectedLightColor = const Color(0xff8B0000),
|
||||
}) : assert(itemIcons.length == 4 || itemIcons.length == 2,
|
||||
"Item must equal 4 or 2"),
|
||||
super(key: key);
|
||||
|
|
Loading…
Reference in a new issue