gest added

This commit is contained in:
meet2711
2024-06-18 14:58:53 +05:30
parent e68c0edcfb
commit 5c209a23f3
29 changed files with 110 additions and 91 deletions

View File

@@ -65,7 +65,7 @@ class AppBarWidget extends StatelessWidget implements PreferredSizeWidget {
),
actions: [
if (customActionWidget != null)
InkWell(
GestureDetector(
onTap: onCustomActionPressed,
child: Padding(
padding: EdgeInsets.only(right: 14.w),

View File

@@ -23,7 +23,7 @@ class ButtonWidget {
Color? borderClr,
required VoidCallback function,
}) {
return InkWell(
return GestureDetector(
onTap: function,
child: Container(
margin: const EdgeInsets.symmetric(

View File

@@ -64,7 +64,7 @@ exitAppDialog(
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
InkWell(
GestureDetector(
onTap: () {
goRouter.pop();
},
@@ -87,7 +87,7 @@ exitAppDialog(
),
),
Gap(15.w),
InkWell(
GestureDetector(
onTap: () {
SystemNavigator.pop();
Navigator.pop(context);

View File

@@ -61,7 +61,7 @@ buildprofilelogoutdialog(context) {
Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
InkWell(
GestureDetector(
onTap: () {
goRouter.pop();
},
@@ -83,7 +83,7 @@ buildprofilelogoutdialog(context) {
),
),
Gap(28.w),
InkWell(
GestureDetector(
onTap: () async {
context.read<BottomNavigationBloc>().add(TabChanged(1));
await secureStorageService.write('isLoginedIn', "false");

View File

@@ -50,7 +50,7 @@ class NoInternet extends StatelessWidget {
const SizedBox(
height: 30.0,
),
InkWell(
GestureDetector(
onTap: () async {
final connectivityResult =
await (Connectivity().checkConnectivity());