From 87a5f3692adbd3c19a51e9156fa5021cf25a9a76 Mon Sep 17 00:00:00 2001 From: "hanie.khodkari" Date: Sun, 16 Mar 2025 18:16:17 +0330 Subject: [PATCH] Remove clear icon from add item box --- .../PackageScreens/Add/add_item_box.dart | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/widgets/PackageScreens/Add/add_item_box.dart b/lib/widgets/PackageScreens/Add/add_item_box.dart index db376a9..e0b3217 100755 --- a/lib/widgets/PackageScreens/Add/add_item_box.dart +++ b/lib/widgets/PackageScreens/Add/add_item_box.dart @@ -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(