remove details button on all tiles

This commit is contained in:
hanie.khodkari
2025-03-15 19:36:46 +03:30
parent 60482a7076
commit 3a1762fe28
6 changed files with 131 additions and 131 deletions
+21 -21
View File
@@ -521,27 +521,27 @@ class TestItemBox extends StatelessWidget {
SizedBox( SizedBox(
width: 7.5, width: 7.5,
), ),
InkWell( // InkWell(
onTap: () { // onTap: () {
Navigator.of(context).pushNamed( // Navigator.of(context).pushNamed(
Routes.testDetailsScreen, // Routes.testDetailsScreen,
arguments: item!.id, // arguments: item!.id,
); // );
}, // },
child: Container( // child: Container(
padding: EdgeInsets.all(7), // padding: EdgeInsets.all(7),
width: 9 * _deviceBlockSize, // width: 9 * _deviceBlockSize,
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: Colors.black, // color: Colors.black,
), // ),
child: Icon( // child: Icon(
FontAwesomeIcons.fileAlt, // FontAwesomeIcons.fileAlt,
size: 5 * _deviceBlockSize, // size: 5 * _deviceBlockSize,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
), // ),
], ],
) )
], ],
+22 -22
View File
@@ -170,28 +170,28 @@ class CycleItemBox extends StatelessWidget {
SizedBox( SizedBox(
width: 5.0, width: 5.0,
), ),
InkWell( // InkWell(
customBorder: CircleBorder(), // customBorder: CircleBorder(),
onTap: () { // onTap: () {
Navigator.of(context).pushNamed( // Navigator.of(context).pushNamed(
Routes.cycleDetailScreen, // Routes.cycleDetailScreen,
arguments: item!.id, // arguments: item!.id,
); // );
}, // },
child: Container( // child: Container(
padding: EdgeInsets.all(7), // padding: EdgeInsets.all(7),
width: 9 * _deviceBlockSize, // width: 9 * _deviceBlockSize,
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: Colors.black, // color: Colors.black,
), // ),
child: Icon( // child: Icon(
FontAwesomeIcons.fileAlt, // FontAwesomeIcons.fileAlt,
size: 5 * _deviceBlockSize, // size: 5 * _deviceBlockSize,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
), // ),
], ],
), ),
], ],
+22 -22
View File
@@ -162,28 +162,28 @@ class LabelItemBox extends StatelessWidget {
SizedBox( SizedBox(
width: 5.0, width: 5.0,
), ),
InkWell( // InkWell(
customBorder: CircleBorder(), // customBorder: CircleBorder(),
onTap: () { // onTap: () {
Navigator.of(context).pushNamed( // Navigator.of(context).pushNamed(
Routes.labelDetailScreen, // Routes.labelDetailScreen,
arguments: item!.id, // arguments: item!.id,
); // );
}, // },
child: Container( // child: Container(
padding: EdgeInsets.all(7), // padding: EdgeInsets.all(7),
width: 9 * _deviceBlockSize, // width: 9 * _deviceBlockSize,
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: Colors.black, // color: Colors.black,
), // ),
child: Icon( // child: Icon(
FontAwesomeIcons.fileAlt, // FontAwesomeIcons.fileAlt,
size: 5 * _deviceBlockSize, // size: 5 * _deviceBlockSize,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
), // ),
], ],
), ),
], ],
@@ -143,28 +143,28 @@ class MyItemsItemDataBox extends StatelessWidget {
SizedBox( SizedBox(
width: 5.0, width: 5.0,
), ),
InkWell( // InkWell(
customBorder: CircleBorder(), // customBorder: CircleBorder(),
onTap: () { // onTap: () {
Navigator.of(context).pushNamed( // Navigator.of(context).pushNamed(
Routes.myItemsDetailScreen, // Routes.myItemsDetailScreen,
arguments: items!.id, // arguments: items!.id,
); // );
}, // },
child: Container( // child: Container(
padding: EdgeInsets.all(7), // padding: EdgeInsets.all(7),
width: 9 * _deviceBlockSize, // width: 9 * _deviceBlockSize,
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: Colors.black, // color: Colors.black,
), // ),
child: Icon( // child: Icon(
FontAwesomeIcons.fileAlt, // FontAwesomeIcons.fileAlt,
size: 5 * _deviceBlockSize, // size: 5 * _deviceBlockSize,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
), // ),
], ],
), ),
], ],
@@ -143,28 +143,28 @@ class MyPackagesItemDataBox extends StatelessWidget {
SizedBox( SizedBox(
width: 5.0, width: 5.0,
), ),
InkWell( // InkWell(
customBorder: CircleBorder(), // customBorder: CircleBorder(),
onTap: () { // onTap: () {
Navigator.of(context).pushNamed( // Navigator.of(context).pushNamed(
Routes.myPackagesDetailScreen, // Routes.myPackagesDetailScreen,
arguments: packages!.id, // arguments: packages!.id,
); // );
}, // },
child: Container( // child: Container(
padding: EdgeInsets.all(7), // padding: EdgeInsets.all(7),
width: 9 * _deviceBlockSize, // width: 9 * _deviceBlockSize,
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: Colors.black, // color: Colors.black,
), // ),
child: Icon( // child: Icon(
FontAwesomeIcons.fileAlt, // FontAwesomeIcons.fileAlt,
size: 5 * _deviceBlockSize, // size: 5 * _deviceBlockSize,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
), // ),
], ],
), ),
], ],
@@ -177,28 +177,28 @@ class PackageItemBox extends StatelessWidget {
SizedBox( SizedBox(
width: 5, width: 5,
), ),
InkWell( // InkWell(
customBorder: CircleBorder(), // customBorder: CircleBorder(),
onTap: () { // onTap: () {
Navigator.of(context).pushNamed( // Navigator.of(context).pushNamed(
Routes.packageDetailScreen, // Routes.packageDetailScreen,
arguments: item!.id, // arguments: item!.id,
); // );
}, // },
child: Container( // child: Container(
padding: EdgeInsets.all(7), // padding: EdgeInsets.all(7),
width: 9 * _deviceBlockSize, // width: 9 * _deviceBlockSize,
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: Colors.black, // color: Colors.black,
), // ),
child: Icon( // child: Icon(
FontAwesomeIcons.fileAlt, // FontAwesomeIcons.fileAlt,
size: 5 * _deviceBlockSize, // size: 5 * _deviceBlockSize,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
), // ),
], ],
), ),
], ],