wrapContentWidth method
It ensure it override the width(relax constraint_)) by wrapping it to a IntrinsicWidth
Implementation
Modifier wrapContentWidth() {
return Modifier._([
..._modifiers,
(widget) {
return IntrinsicWidth(
child: widget,
);
}
]);
}