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, left: _deviceBlockSize,
), ),
border: InputBorder.none, border: InputBorder.none,
suffixIcon: Padding( // suffixIcon: Padding(
padding: EdgeInsets.all(8), // padding: EdgeInsets.all(8),
child: InkWell( // child: InkWell(
child: Container( // child: Container(
decoration: BoxDecoration( // decoration: BoxDecoration(
shape: BoxShape.circle, // shape: BoxShape.circle,
color: iconColor, // color: iconColor,
), // ),
child: Icon( // child: Icon(
Icons.clear, // Icons.clear,
color: Colors.white, // color: Colors.white,
), // ),
), // ),
onTap: () async { // onTap: () async {
packageProvider.setClear(index); // packageProvider.setClear(index);
// _key.currentState?.reset(); // // _key.currentState?.reset();
}, // },
)), // )),
), ),
iconSize: 7 * _deviceBlockSize, iconSize: 7 * _deviceBlockSize,
icon: Icon( icon: Icon(