fingerprint auth added

This commit is contained in:
jayesh
2024-07-03 18:50:05 +05:30
13 changed files with 125 additions and 115 deletions

View File

@@ -7,8 +7,7 @@ import 'package:google_fonts/google_fonts.dart';
import 'package:tanami_app/core/routes/routes.dart';
import 'package:tanami_app/core/styles/app_color.dart';
import 'package:tanami_app/shared/components/toast_message.dart';
import '../../core/styles/app_images.dart';
import 'package:tanami_app/core/styles/app_images.dart';
class NoInternet extends StatelessWidget {
const NoInternet({super.key});
@@ -18,8 +17,9 @@ class NoInternet extends StatelessWidget {
return WillPopScope(
onWillPop: () => Future.value(false),
child: Scaffold(
backgroundColor: AppColor.plainWhite,
body: Column(children: [
backgroundColor: AppColor.plainWhite,
body: Column(
children: [
Center(
child: Container(
margin: const EdgeInsets.only(top: 100),
@@ -40,12 +40,13 @@ class NoInternet extends StatelessWidget {
Container(
margin: const EdgeInsets.symmetric(horizontal: 20),
child: Text(
"Internet Connection is Down!\n\nEnsure your internet's up and running.",
textAlign: TextAlign.center,
style: GoogleFonts.dmSans(
fontSize: 18.0,
fontWeight: FontWeight.w500,
)),
"Internet Connection is Down!\n\nEnsure your internet's up and running.",
textAlign: TextAlign.center,
style: GoogleFonts.dmSans(
fontSize: 18.0,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
height: 30.0,
@@ -74,7 +75,9 @@ class NoInternet extends StatelessWidget {
child: Text(
"Try Again",
style: GoogleFonts.dmSans(
color: AppColor.plainWhite, fontSize: 20.sp),
color: AppColor.plainWhite,
fontSize: 20.sp,
),
),
),
),
@@ -84,7 +87,9 @@ class NoInternet extends StatelessWidget {
),
),
),
])),
],
),
),
);
}
}