new splash screen, deposit screen
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user