mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-29 09:20:56 +01:00
Set the color of the bottom navigation bar statically to the main color
This commit is contained in:
@@ -36,6 +36,7 @@ import 'package:wger/screens/gallery_screen.dart';
|
||||
import 'package:wger/screens/nutritional_plans_screen.dart';
|
||||
import 'package:wger/screens/weight_screen.dart';
|
||||
import 'package:wger/screens/workout_plans_screen.dart';
|
||||
import 'package:wger/theme/theme.dart';
|
||||
|
||||
class HomeTabsScreen extends StatefulWidget {
|
||||
static const routeName = '/dashboard2';
|
||||
@@ -182,6 +183,9 @@ class _HomeTabsScreenState extends State<HomeTabsScreen> with SingleTickerProvid
|
||||
currentIndex: _selectedIndex,
|
||||
onTap: _onItemTapped,
|
||||
showUnselectedLabels: false,
|
||||
selectedItemColor: Colors.white,
|
||||
unselectedItemColor: wgerPrimaryColorLight,
|
||||
backgroundColor: wgerPrimaryColor,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -23,6 +23,7 @@ import 'package:table_calendar/table_calendar.dart';
|
||||
|
||||
const Color wgerPrimaryColor = Color(0xff2a4c7d);
|
||||
const Color wgerPrimaryButtonColor = Color(0xff266dd3);
|
||||
const Color wgerPrimaryColorLight = Color(0xff94B2DB);
|
||||
const Color wgerSecondaryColor = Color(0xffe63946);
|
||||
const Color wgerSecondaryColorLight = Color(0xffF6B4BA);
|
||||
const Color wgerTextMuted = Colors.black38;
|
||||
|
||||
Reference in New Issue
Block a user