From 3a1762fe289a6de3d50093f9ceefeef45fda1fd3 Mon Sep 17 00:00:00 2001 From: "hanie.khodkari" Date: Sat, 15 Mar 2025 19:36:46 +0330 Subject: [PATCH] remove details button on all tiles --- lib/pages/TestPages/test_result_screen.dart | 42 +++++++++--------- lib/widgets/CycleScreens/Result/data_box.dart | 44 +++++++++---------- lib/widgets/LabelScreens/Result/data_box.dart | 44 +++++++++---------- .../Result/my_items_data_box_widget.dart | 44 +++++++++---------- .../Result/my_packages_data_box_widget.dart | 44 +++++++++---------- .../Result/package_data_box.dart | 44 +++++++++---------- 6 files changed, 131 insertions(+), 131 deletions(-) diff --git a/lib/pages/TestPages/test_result_screen.dart b/lib/pages/TestPages/test_result_screen.dart index 2957ea3..8080527 100755 --- a/lib/pages/TestPages/test_result_screen.dart +++ b/lib/pages/TestPages/test_result_screen.dart @@ -521,27 +521,27 @@ class TestItemBox extends StatelessWidget { SizedBox( width: 7.5, ), - InkWell( - onTap: () { - Navigator.of(context).pushNamed( - Routes.testDetailsScreen, - arguments: item!.id, - ); - }, - child: Container( - padding: EdgeInsets.all(7), - width: 9 * _deviceBlockSize, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: Colors.black, - ), - child: Icon( - FontAwesomeIcons.fileAlt, - size: 5 * _deviceBlockSize, - color: Colors.white, - ), - ), - ), + // InkWell( + // onTap: () { + // Navigator.of(context).pushNamed( + // Routes.testDetailsScreen, + // arguments: item!.id, + // ); + // }, + // child: Container( + // padding: EdgeInsets.all(7), + // width: 9 * _deviceBlockSize, + // decoration: BoxDecoration( + // shape: BoxShape.circle, + // color: Colors.black, + // ), + // child: Icon( + // FontAwesomeIcons.fileAlt, + // size: 5 * _deviceBlockSize, + // color: Colors.white, + // ), + // ), + // ), ], ) ], diff --git a/lib/widgets/CycleScreens/Result/data_box.dart b/lib/widgets/CycleScreens/Result/data_box.dart index 207a6b0..ec83eb8 100755 --- a/lib/widgets/CycleScreens/Result/data_box.dart +++ b/lib/widgets/CycleScreens/Result/data_box.dart @@ -170,28 +170,28 @@ class CycleItemBox extends StatelessWidget { SizedBox( width: 5.0, ), - InkWell( - customBorder: CircleBorder(), - onTap: () { - Navigator.of(context).pushNamed( - Routes.cycleDetailScreen, - arguments: item!.id, - ); - }, - child: Container( - padding: EdgeInsets.all(7), - width: 9 * _deviceBlockSize, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: Colors.black, - ), - child: Icon( - FontAwesomeIcons.fileAlt, - size: 5 * _deviceBlockSize, - color: Colors.white, - ), - ), - ), + // InkWell( + // customBorder: CircleBorder(), + // onTap: () { + // Navigator.of(context).pushNamed( + // Routes.cycleDetailScreen, + // arguments: item!.id, + // ); + // }, + // child: Container( + // padding: EdgeInsets.all(7), + // width: 9 * _deviceBlockSize, + // decoration: BoxDecoration( + // shape: BoxShape.circle, + // color: Colors.black, + // ), + // child: Icon( + // FontAwesomeIcons.fileAlt, + // size: 5 * _deviceBlockSize, + // color: Colors.white, + // ), + // ), + // ), ], ), ], diff --git a/lib/widgets/LabelScreens/Result/data_box.dart b/lib/widgets/LabelScreens/Result/data_box.dart index c14d9b1..287982f 100755 --- a/lib/widgets/LabelScreens/Result/data_box.dart +++ b/lib/widgets/LabelScreens/Result/data_box.dart @@ -162,28 +162,28 @@ class LabelItemBox extends StatelessWidget { SizedBox( width: 5.0, ), - InkWell( - customBorder: CircleBorder(), - onTap: () { - Navigator.of(context).pushNamed( - Routes.labelDetailScreen, - arguments: item!.id, - ); - }, - child: Container( - padding: EdgeInsets.all(7), - width: 9 * _deviceBlockSize, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: Colors.black, - ), - child: Icon( - FontAwesomeIcons.fileAlt, - size: 5 * _deviceBlockSize, - color: Colors.white, - ), - ), - ), + // InkWell( + // customBorder: CircleBorder(), + // onTap: () { + // Navigator.of(context).pushNamed( + // Routes.labelDetailScreen, + // arguments: item!.id, + // ); + // }, + // child: Container( + // padding: EdgeInsets.all(7), + // width: 9 * _deviceBlockSize, + // decoration: BoxDecoration( + // shape: BoxShape.circle, + // color: Colors.black, + // ), + // child: Icon( + // FontAwesomeIcons.fileAlt, + // size: 5 * _deviceBlockSize, + // color: Colors.white, + // ), + // ), + // ), ], ), ], diff --git a/lib/widgets/MyItemsScreens/Result/my_items_data_box_widget.dart b/lib/widgets/MyItemsScreens/Result/my_items_data_box_widget.dart index ad1621e..7664759 100755 --- a/lib/widgets/MyItemsScreens/Result/my_items_data_box_widget.dart +++ b/lib/widgets/MyItemsScreens/Result/my_items_data_box_widget.dart @@ -143,28 +143,28 @@ class MyItemsItemDataBox extends StatelessWidget { SizedBox( width: 5.0, ), - InkWell( - customBorder: CircleBorder(), - onTap: () { - Navigator.of(context).pushNamed( - Routes.myItemsDetailScreen, - arguments: items!.id, - ); - }, - child: Container( - padding: EdgeInsets.all(7), - width: 9 * _deviceBlockSize, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: Colors.black, - ), - child: Icon( - FontAwesomeIcons.fileAlt, - size: 5 * _deviceBlockSize, - color: Colors.white, - ), - ), - ), + // InkWell( + // customBorder: CircleBorder(), + // onTap: () { + // Navigator.of(context).pushNamed( + // Routes.myItemsDetailScreen, + // arguments: items!.id, + // ); + // }, + // child: Container( + // padding: EdgeInsets.all(7), + // width: 9 * _deviceBlockSize, + // decoration: BoxDecoration( + // shape: BoxShape.circle, + // color: Colors.black, + // ), + // child: Icon( + // FontAwesomeIcons.fileAlt, + // size: 5 * _deviceBlockSize, + // color: Colors.white, + // ), + // ), + // ), ], ), ], diff --git a/lib/widgets/MyPackagesScreens/Result/my_packages_data_box_widget.dart b/lib/widgets/MyPackagesScreens/Result/my_packages_data_box_widget.dart index d9970ab..b6ae1cf 100755 --- a/lib/widgets/MyPackagesScreens/Result/my_packages_data_box_widget.dart +++ b/lib/widgets/MyPackagesScreens/Result/my_packages_data_box_widget.dart @@ -143,28 +143,28 @@ class MyPackagesItemDataBox extends StatelessWidget { SizedBox( width: 5.0, ), - InkWell( - customBorder: CircleBorder(), - onTap: () { - Navigator.of(context).pushNamed( - Routes.myPackagesDetailScreen, - arguments: packages!.id, - ); - }, - child: Container( - padding: EdgeInsets.all(7), - width: 9 * _deviceBlockSize, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: Colors.black, - ), - child: Icon( - FontAwesomeIcons.fileAlt, - size: 5 * _deviceBlockSize, - color: Colors.white, - ), - ), - ), + // InkWell( + // customBorder: CircleBorder(), + // onTap: () { + // Navigator.of(context).pushNamed( + // Routes.myPackagesDetailScreen, + // arguments: packages!.id, + // ); + // }, + // child: Container( + // padding: EdgeInsets.all(7), + // width: 9 * _deviceBlockSize, + // decoration: BoxDecoration( + // shape: BoxShape.circle, + // color: Colors.black, + // ), + // child: Icon( + // FontAwesomeIcons.fileAlt, + // size: 5 * _deviceBlockSize, + // color: Colors.white, + // ), + // ), + // ), ], ), ], diff --git a/lib/widgets/PackageScreens/Result/package_data_box.dart b/lib/widgets/PackageScreens/Result/package_data_box.dart index a76c747..c9fa94d 100755 --- a/lib/widgets/PackageScreens/Result/package_data_box.dart +++ b/lib/widgets/PackageScreens/Result/package_data_box.dart @@ -177,28 +177,28 @@ class PackageItemBox extends StatelessWidget { SizedBox( width: 5, ), - InkWell( - customBorder: CircleBorder(), - onTap: () { - Navigator.of(context).pushNamed( - Routes.packageDetailScreen, - arguments: item!.id, - ); - }, - child: Container( - padding: EdgeInsets.all(7), - width: 9 * _deviceBlockSize, - decoration: BoxDecoration( - shape: BoxShape.circle, - color: Colors.black, - ), - child: Icon( - FontAwesomeIcons.fileAlt, - size: 5 * _deviceBlockSize, - color: Colors.white, - ), - ), - ), + // InkWell( + // customBorder: CircleBorder(), + // onTap: () { + // Navigator.of(context).pushNamed( + // Routes.packageDetailScreen, + // arguments: item!.id, + // ); + // }, + // child: Container( + // padding: EdgeInsets.all(7), + // width: 9 * _deviceBlockSize, + // decoration: BoxDecoration( + // shape: BoxShape.circle, + // color: Colors.black, + // ), + // child: Icon( + // FontAwesomeIcons.fileAlt, + // size: 5 * _deviceBlockSize, + // color: Colors.white, + // ), + // ), + // ), ], ), ],