withEffectiveMaxLines method

WidgetSelector<Text> withEffectiveMaxLines(
  1. int? value
)

A WidgetSelector for Text widgets with a fixed maxLines value.

Example:

spot<Text>().withEffectiveMaxLines(2).existsOnce();

See also:

Implementation

WidgetSelector<Text> withEffectiveMaxLines(int? value) {
  return withEffectiveMaxLinesMatching((it) => it.equals(value));
}