mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 21:58:57 +03:30
Remove clear icon from add item box
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user