Steps to Reproduce
I'm trying to utilize the Text widget's overflow properties when I put it into a chip.
However when I do the following the chip is not constraining the size of Text and results in the Text widget being wider than the available space*:
new Container(
constraints: new BoxConstraints(maxWidth: 150.0),
child: new Chip(
label: new Text(
'Some text that exceeds the width of parent',
overflow: TextOverflow.ellipsis),
onDeleted: myDeleteFunction
)
It produces the following:

*putting 150.0 for illustrative purposes only, my main use case is this chip in a wrap
Current work around
Instead I need to do something like the following - where 38 represents the extra space on the "right" including the "x" icon since I always have a onDeleted function. This, unfortunately, requires me to hard-code the 38.
new Chip(
label: new Container(
constraints: new BoxConstraints(
maxWidth: 150.0 - 38.0),
child: new Text(email,
overflow: TextOverflow.ellipsis)),
onDeleted: myDeleteFunction,
)
Which works and gives me this:

Request
Would it be possible for the label in Chip to be wrapped with an Expanded?
Something like this:
children.add(new Expanded(
child: new DefaultTextStyle(
style: _kLabelStyle,
child: label
)
));
Steps to Reproduce
I'm trying to utilize the Text widget's overflow properties when I put it into a chip.
However when I do the following the chip is not constraining the size of Text and results in the Text widget being wider than the available space*:
It produces the following:

*putting 150.0 for illustrative purposes only, my main use case is this chip in a wrap
Current work around
Instead I need to do something like the following - where 38 represents the extra space on the "right" including the "x" icon since I always have a onDeleted function. This, unfortunately, requires me to hard-code the 38.
Which works and gives me this:

Request
Would it be possible for the label in Chip to be wrapped with an Expanded?
Something like this: