BASE: Update Icons & Name Of The App.

This commit is contained in:
2025-12-04 10:23:59 +05:00
parent b04050384d
commit e602782edd
228 changed files with 34364 additions and 7905 deletions

View File

@@ -6,7 +6,7 @@ import '../screen_ui/multi_vendor_service/order_list_screen/order_screen.dart';
import '../screen_ui/multi_vendor_service/profile_screen/profile_screen.dart';
import '../screen_ui/multi_vendor_service/wallet_screen/wallet_screen.dart';
import '../service/fire_store_utils.dart';
import 'package:get/get.dart';
import 'package:get/get.dart' hide Trans;
class DashBoardController extends GetxController {
RxInt selectedIndex = 0.obs;
@@ -19,22 +19,46 @@ class DashBoardController extends GetxController {
getTaxList();
if (Constant.sectionConstantModel!.theme == "theme_2") {
if (Constant.walletSetting == false) {
pageList.value = [const HomeScreen(), const FavouriteScreen(), const OrderScreen(), const ProfileScreen()];
pageList.value = [
const HomeScreen(),
const FavouriteScreen(),
const OrderScreen(),
const ProfileScreen(),
];
} else {
pageList.value = [const HomeScreen(), const FavouriteScreen(), const WalletScreen(), const OrderScreen(), const ProfileScreen()];
pageList.value = [
const HomeScreen(),
const FavouriteScreen(),
const WalletScreen(),
const OrderScreen(),
const ProfileScreen(),
];
}
} else {
if (Constant.walletSetting == false) {
pageList.value = [const HomeScreenTwo(), const FavouriteScreen(), const OrderScreen(), const ProfileScreen()];
pageList.value = [
const HomeScreenTwo(),
const FavouriteScreen(),
const OrderScreen(),
const ProfileScreen(),
];
} else {
pageList.value = [const HomeScreenTwo(), const FavouriteScreen(), const WalletScreen(), const OrderScreen(), const ProfileScreen()];
pageList.value = [
const HomeScreenTwo(),
const FavouriteScreen(),
const WalletScreen(),
const OrderScreen(),
const ProfileScreen(),
];
}
}
super.onInit();
}
Future<void> getTaxList() async {
await FireStoreUtils.getTaxList(Constant.sectionConstantModel!.id).then((value) {
await FireStoreUtils.getTaxList(Constant.sectionConstantModel!.id).then((
value,
) {
if (value != null) {
Constant.taxList = value;
}