Remove clear icon from add item box

This commit is contained in:
hanie.khodkari
2025-03-16 18:16:17 +03:30
parent 46dbd464ba
commit 87a5f3692a
@@ -107,24 +107,24 @@ class AddItemBox extends StatelessWidget {
left: _deviceBlockSize,
),
border: InputBorder.none,
suffixIcon: Padding(
padding: EdgeInsets.all(8),
child: InkWell(
child: Container(
decoration: BoxDecoration(
shape: BoxShape.circle,
color: iconColor,
),
child: Icon(
Icons.clear,
color: Colors.white,
),
),
onTap: () async {
packageProvider.setClear(index);
// _key.currentState?.reset();
},
)),
// suffixIcon: Padding(
// padding: EdgeInsets.all(8),
// child: InkWell(
// child: Container(
// decoration: BoxDecoration(
// shape: BoxShape.circle,
// color: iconColor,
// ),
// child: Icon(
// Icons.clear,
// color: Colors.white,
// ),
// ),
// onTap: () async {
// packageProvider.setClear(index);
// // _key.currentState?.reset();
// },
// )),
),
iconSize: 7 * _deviceBlockSize,
icon: Icon(