added string for every screen and removed from app strings
This commit is contained in:
@@ -2,9 +2,12 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:tm_app/core/constants/assets.dart';
|
||||
import 'package:tm_app/core/constants/strings.dart';
|
||||
import 'package:tm_app/core/theme/colors.dart';
|
||||
import 'package:tm_app/core/utils/size_config.dart';
|
||||
import 'package:tm_app/views/profile/strings/profile_strings.dart';
|
||||
|
||||
import '../../../views/home/strings/home_strings.dart';
|
||||
import '../../../views/tenders/strings/tenders_strings.dart';
|
||||
|
||||
class MobileShellPage extends StatelessWidget {
|
||||
const MobileShellPage({
|
||||
@@ -31,7 +34,7 @@ class MobileShellPage extends StatelessWidget {
|
||||
children: [
|
||||
_bottomNavigationItem(
|
||||
context: context,
|
||||
text: AppStrings.home,
|
||||
text: HomeStrings.home,
|
||||
isActive: navigationShell.currentIndex == 0,
|
||||
onTap: () => onTap(0),
|
||||
iconPath: AssetsManager.home,
|
||||
@@ -39,7 +42,7 @@ class MobileShellPage extends StatelessWidget {
|
||||
),
|
||||
_bottomNavigationItem(
|
||||
context: context,
|
||||
text: AppStrings.tendersTitle,
|
||||
text: TendersStrings.tendersTitle,
|
||||
isActive: navigationShell.currentIndex == 1,
|
||||
onTap: () => onTap(1),
|
||||
iconPath: AssetsManager.tenders,
|
||||
@@ -47,7 +50,7 @@ class MobileShellPage extends StatelessWidget {
|
||||
),
|
||||
_bottomNavigationItem(
|
||||
context: context,
|
||||
text: AppStrings.profile,
|
||||
text: ProfileStrings.profileTitle,
|
||||
isActive: navigationShell.currentIndex == 2,
|
||||
onTap: () => onTap(2),
|
||||
iconPath: AssetsManager.profile,
|
||||
|
||||
Reference in New Issue
Block a user