EffectiveTextMatcher extension
Matchers for the Text widget to make assertions about:
- on
Methods
-
hasEffectiveMaxLines(
int? value) → WidgetMatcher< Text> -
A WidgetMatcher for
Text
widgets that performs a singular assertion against a fixedmaxLines
value. -
hasEffectiveMaxLinesWhere(
MatchProp< int> match) → WidgetMatcher<Text> -
A WidgetMatcher for
Text
widgets that performs specific assertions by applying a custom matcher function to themaxLines
property. -
hasEffectiveTextStyle(
TextStyle? value) → WidgetMatcher< Text> -
A WidgetMatcher for
Text
widgets that performs a singular assertion against a fixed TextStyle value. -
hasEffectiveTextStyleWhere(
MatchProp< TextStyle> match) → WidgetMatcher<Text> -
A WidgetMatcher for
Text
widgets that performs specific assertions by applying a custom matcher function to TextStyle properties.