new splash screen, deposit screen

This commit is contained in:
jayesh
2024-07-22 18:40:32 +05:30
parent fe73681e09
commit 3d7d6b8368
46 changed files with 572 additions and 421 deletions

View File

@@ -11,7 +11,7 @@ import 'package:tanami_app/shared/components/text_widget.dart';
import '../../core/routes/route_name.dart';
import '../../core/routes/routes.dart';
import '../../core/utils/language/localizations_delegate.dart';
import '../../features/forgotPassword/bloc/restore_password_phone_verification_bloc.dart';
import '../../features/forgotPassword/presentation/bloc/restore_password_phone_verification_bloc.dart';
import '../../features/register/presentation/bloc/register_bloc.dart';
import 'text_from_field_widget.dart';

View File

@@ -216,10 +216,11 @@ class TextWidget {
String text, {
Color? clr,
TextDecoration? textDecoration,
TextAlign? textAlign,
}) {
return Text(
text,
textAlign: TextAlign.center,
textAlign: textAlign ?? TextAlign.center,
style: GoogleFonts.dmSans(
fontSize: 15.sp,
decorationColor: AppColor.hintTextColor,
@@ -323,9 +324,10 @@ class TextWidget {
}
//Text Size 20
Widget text20W700(String text, {Color? clr}) {
Widget text20W700(String text, {Color? clr, TextAlign? txtAlign}) {
return Text(
text,
textAlign: txtAlign ?? TextAlign.start,
style: GoogleFonts.dmSans(
fontSize: 20.sp,
fontWeight: FontWeight.w700,
@@ -356,4 +358,16 @@ class TextWidget {
),
);
}
//Text Size 32
Widget text32W700(String text, {Color? clr}) {
return Text(
text,
style: GoogleFonts.dmSans(
fontSize: 32.sp,
fontWeight: FontWeight.w700,
color: clr ?? AppColor.plainWhite,
),
);
}
}