|
|
|
@ -72,9 +72,9 @@ class AppCustomChipWidget extends StatelessWidget {
|
|
|
|
// padding: EdgeInsets.all(0.0),
|
|
|
|
// padding: EdgeInsets.all(0.0),
|
|
|
|
padding: padding,
|
|
|
|
padding: padding,
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
materialTapTargetSize: MaterialTapTargetSize.shrinkWrap,
|
|
|
|
labelPadding: EdgeInsets.only(
|
|
|
|
labelPadding: EdgeInsetsDirectional.only(
|
|
|
|
left: -4.h,
|
|
|
|
start: -4.h,
|
|
|
|
right: deleteIcon?.isNotEmpty == true ? 2.h : 8.h),
|
|
|
|
end: deleteIcon?.isNotEmpty == true ? 2.h : 8.h),
|
|
|
|
backgroundColor: backgroundColor,
|
|
|
|
backgroundColor: backgroundColor,
|
|
|
|
shape: shape,
|
|
|
|
shape: shape,
|
|
|
|
deleteIcon: deleteIcon?.isNotEmpty == true
|
|
|
|
deleteIcon: deleteIcon?.isNotEmpty == true
|
|
|
|
@ -96,9 +96,9 @@ class AppCustomChipWidget extends StatelessWidget {
|
|
|
|
padding: EdgeInsets.all(0.0),
|
|
|
|
padding: EdgeInsets.all(0.0),
|
|
|
|
backgroundColor: backgroundColor,
|
|
|
|
backgroundColor: backgroundColor,
|
|
|
|
shape: shape,
|
|
|
|
shape: shape,
|
|
|
|
labelPadding: EdgeInsets.only(
|
|
|
|
labelPadding: EdgeInsetsDirectional.only(
|
|
|
|
left: 8.h,
|
|
|
|
start: 8.h,
|
|
|
|
right: deleteIcon?.isNotEmpty == true ? -2.h : 8.h),
|
|
|
|
end: deleteIcon?.isNotEmpty == true ? -2.h : 8.h),
|
|
|
|
deleteIcon: deleteIcon?.isNotEmpty == true
|
|
|
|
deleteIcon: deleteIcon?.isNotEmpty == true
|
|
|
|
? Utils.buildSvgWithAssets(
|
|
|
|
? Utils.buildSvgWithAssets(
|
|
|
|
icon: deleteIcon!,
|
|
|
|
icon: deleteIcon!,
|
|
|
|
|