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

@@ -2,7 +2,7 @@ import 'package:customer/constant/assets.dart';
import 'package:customer/themes/round_button_fill.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get/get.dart' hide Trans;
import '../../controllers/on_boarding_controller.dart';
import '../../themes/app_them_data.dart';
import '../../utils/network_image_widget.dart';
@@ -25,7 +25,10 @@ class OnboardingScreen extends StatelessWidget {
Image.asset(AppAssets.onBoardingBG, fit: BoxFit.cover),
SafeArea(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 15, vertical: 20),
padding: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 20,
),
child: Column(
children: [
const SizedBox(height: 20),
@@ -35,8 +38,18 @@ class OnboardingScreen extends StatelessWidget {
text: TextSpan(
style: AppThemeData.regularTextStyle(fontSize: 14),
children: [
TextSpan(text: "${controller.currentPage.value + 1}", style: AppThemeData.regularTextStyle(color: AppThemeData.grey800)),
TextSpan(text: "/$pageCount", style: AppThemeData.regularTextStyle(color: AppThemeData.grey400)),
TextSpan(
text: "${controller.currentPage.value + 1}",
style: AppThemeData.regularTextStyle(
color: AppThemeData.grey800,
),
),
TextSpan(
text: "/$pageCount",
style: AppThemeData.regularTextStyle(
color: AppThemeData.grey400,
),
),
],
),
),
@@ -52,11 +65,28 @@ class OnboardingScreen extends StatelessWidget {
return SingleChildScrollView(
child: Column(
children: [
Text(item.title ?? '', style: AppThemeData.boldTextStyle(color: AppThemeData.grey900), textAlign: TextAlign.center),
Text(
item.title ?? '',
style: AppThemeData.boldTextStyle(
color: AppThemeData.grey900,
),
textAlign: TextAlign.center,
),
const SizedBox(height: 5),
Text(item.description ?? '', style: AppThemeData.boldTextStyle(color: AppThemeData.grey500, fontSize: 14), textAlign: TextAlign.center),
Text(
item.description ?? '',
style: AppThemeData.boldTextStyle(
color: AppThemeData.grey500,
fontSize: 14,
),
textAlign: TextAlign.center,
),
const SizedBox(height: 40),
NetworkImageWidget(imageUrl: item.image ?? '', width: double.infinity, height: 500),
NetworkImageWidget(
imageUrl: item.image ?? '',
width: double.infinity,
height: 500,
),
],
),
);
@@ -74,7 +104,14 @@ class OnboardingScreen extends StatelessWidget {
)
: Row(
children: [
Expanded(child: RoundedButtonFill(title: "Skip".tr(), onPress: () => _finish(), color: AppThemeData.grey50, textColor: AppThemeData.grey900)),
Expanded(
child: RoundedButtonFill(
title: "Skip".tr(),
onPress: () => _finish(),
color: AppThemeData.grey50,
textColor: AppThemeData.grey900,
),
),
const SizedBox(width: 20),
Expanded(
child: RoundedButtonFill(