deleteIconBoxConstraints property

  1. @override
BoxConstraints? deleteIconBoxConstraints
final

Optional size constraints for the delete icon.

When unspecified, defaults to a minimum size of chip height or label height (whichever is greater) and a padding of 8.0 pixels on all sides.

The default constraints ensure that the delete icon is accessible. Specifying this parameter enables creation of delete icon smaller than the minimum size, but it is not recommended.

This sample shows how to use deleteIconBoxConstraints to adjust delete icon size constraints.
link

To create a local project with this code sample, run:
flutter create --sample=chip.DeletableChipAttributes.deleteIconBoxConstraints.1 mysample

Implementation

@override
final BoxConstraints? deleteIconBoxConstraints;