pin code screen, forgot pin code screen

This commit is contained in:
jayesh
2024-06-03 19:10:05 +05:30
parent c3d8fce960
commit 4efa4410b9
30 changed files with 882 additions and 102 deletions

View File

@@ -41,21 +41,23 @@ class AppBarWidget extends StatelessWidget implements PreferredSizeWidget {
padding: EdgeInsets.only(
left: 16.w,
),
child: GestureDetector(
onTap: () {
customBack ?? false
? goRouter.goNamed(backPageName!)
: goRouter.pop();
},
child: Padding(
padding: EdgeInsets.only(left: 8.w),
child: Icon(
Icons.arrow_back_rounded,
color: AppColor.appBarIconColor,
size: 25.r,
),
),
),
child: !showLeading!
? null
: GestureDetector(
onTap: () {
customBack ?? false
? goRouter.goNamed(backPageName!)
: goRouter.pop();
},
child: Padding(
padding: EdgeInsets.only(left: 8.w),
child: Icon(
Icons.arrow_back_rounded,
color: AppColor.appBarIconColor,
size: 25.r,
),
),
),
),
actions: [
if (customActionWidget != null)

View File

@@ -29,7 +29,7 @@ class CheckBoxWidget extends StatelessWidget {
},
),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(6), // Custom radius
borderRadius: BorderRadius.circular(6),
),
value: state is CheckboxChecked,
onChanged: (value) {

View File

@@ -14,6 +14,21 @@ class TextWidget {
//Text Size 14
Widget text14W400(
String text, {
Color? clr,
TextDecoration? textDecoration,
TextAlign? txtAlign,
}) {
return Text(text,
textAlign: txtAlign ?? TextAlign.center,
style: GoogleFonts.dmSans(
fontSize: 14,
fontWeight: FontWeight.w400,
decoration: textDecoration ?? TextDecoration.none,
color: clr ?? AppColor.plainWhite));
}
Widget text14W500(
String text, {
Color? clr,
@@ -44,11 +59,14 @@ class TextWidget {
Widget text15W500(
String text, {
Color? clr,
TextDecoration? textDecoration,
}) {
return Text(text,
textAlign: TextAlign.center,
style: GoogleFonts.dmSans(
fontSize: 15,
decorationColor: AppColor.hintTextColor,
decoration: textDecoration ?? TextDecoration.none,
fontWeight: FontWeight.w500,
color: clr ?? AppColor.plainWhite));
}
@@ -69,6 +87,22 @@ class TextWidget {
color: clr ?? AppColor.plainWhite));
}
//Text Size 17
Widget text17W700(
String text, {
Color? clr,
TextDecoration? textDecoration,
}) {
return Text(text,
textAlign: TextAlign.center,
style: GoogleFonts.dmSans(
fontSize: 17,
decorationColor: AppColor.hintTextColor,
decoration: textDecoration ?? TextDecoration.none,
fontWeight: FontWeight.w700,
color: clr ?? AppColor.plainWhite));
}
//Text Size 22
Widget text22W700(String text, {Color? clr}) {
return Text(text,