Refactor: rename BottomNavigation and update TendersScreen structure
- Renamed BottomNavigation to TenderBottomNavigation for clarity. - Updated TendersScreen to use TenderBottomNavigation. - Converted TendersScreen from StatelessWidget to StatefulWidget to manage tab state. - Added TabController for handling tab changes and improved layout with SafeArea and PageView.
This commit is contained in:
@@ -10,4 +10,9 @@ class AssetsManager {
|
||||
|
||||
// tenders page
|
||||
static const tenderLogo = 'assets/icons/tenderLogo.png';
|
||||
static const like = 'assets/icons/like.svg';
|
||||
static const dislike = 'assets/icons/dislike.svg';
|
||||
static const closeCircle = 'assets/icons/close-circle.svg';
|
||||
static const seFlag = 'assets/icons/SE.png';
|
||||
static const location = 'assets/icons/location.svg';
|
||||
}
|
||||
|
||||
@@ -21,5 +21,13 @@ class AppColors {
|
||||
static const Color errorColor = Color(0xFFDC3545);
|
||||
static const Color warningColor = Color(0xFFFFC107);
|
||||
|
||||
static const Color grey = Color(0xFF555555);
|
||||
static const Color grey60 = Color(0xFF777777);
|
||||
static const Color grey70 = Color(0xFF444444);
|
||||
static const Color grey80 = Color(0xFF222222);
|
||||
static const Color grey10 = Color(0xFFF4F4F4);
|
||||
static const Color grey0 = Color(0xFFFCFCFC);
|
||||
static const Color backgroundColor = Color(0xFFFFFFFF);
|
||||
static const Color borderColor = Color(0xFFE1E1E1);
|
||||
static const Color primary2 = Color(0xFFE5EFFF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user