computeMinIntrinsicWidth method

  1. @override
double computeMinIntrinsicWidth(
  1. double height
)
override

A text that does not wrap is as narrow as its longest line (css-text-3 3); one that wraps, as its longest piece, with the first line's piece indent in -- a hanging indent takes its width off the first piece alone, and a positive one adds to it alone.

Implementation

@override
double computeMinIntrinsicWidth(double height) => _softWrap ? _minContent : _maxContent;