TextMatcher extension
Matchers for the properties of Text provided via Diagnosticable.debugFillProperties
- on
Methods
-
hasLocale(
Locale? value) → WidgetMatcher< Text> -
Expects that locale of Text equals (==)
value
. -
hasLocaleWhere(
MatchProp< Locale> match) → WidgetMatcher<Text> -
Expects that locale of Text matches the condition in
match
. -
hasMaxLines(
int? value) → WidgetMatcher< Text> -
Expects that maxLines of Text equals (==)
value
. -
hasMaxLinesWhere(
MatchProp< int> match) → WidgetMatcher<Text> -
Expects that maxLines of Text matches the condition in
match
. -
hasOverflow(
TextOverflow? value) → WidgetMatcher< Text> -
Expects that overflow of Text equals (==)
value
. -
hasOverflowWhere(
MatchProp< TextOverflow> match) → WidgetMatcher<Text> -
Expects that overflow of Text matches the condition in
match
. -
hasSoftWrap(
bool? value) → WidgetMatcher< Text> -
Expects that softWrap of Text equals (==)
value
. -
hasSoftWrapWhere(
MatchProp< bool> match) → WidgetMatcher<Text> -
Expects that softWrap of Text matches the condition in
match
. -
hasText(
String? value) → WidgetMatcher< Text> -
Expects that text of Text equals (==)
value
. -
hasTextAlign(
TextAlign? value) → WidgetMatcher< Text> -
Expects that textAlign of Text equals (==)
value
. -
hasTextAlignWhere(
MatchProp< TextAlign> match) → WidgetMatcher<Text> -
Expects that textAlign of Text matches the condition in
match
. -
hasTextDirection(
TextDirection? value) → WidgetMatcher< Text> -
Expects that textDirection of Text equals (==)
value
. -
hasTextDirectionWhere(
MatchProp< TextDirection> match) → WidgetMatcher<Text> -
Expects that textDirection of Text matches the condition in
match
. -
hasTextHeightBehavior(
TextHeightBehavior? value) → WidgetMatcher< Text> -
Expects that textHeightBehavior of Text equals (==)
value
. -
hasTextHeightBehaviorWhere(
MatchProp< TextHeightBehavior> match) → WidgetMatcher<Text> -
Expects that textHeightBehavior of Text matches the condition in
match
. -
hasTextScaleFactor(
double? value) → WidgetMatcher< Text> -
Expects that textScaleFactor of Text equals (==)
value
. -
hasTextScaleFactorWhere(
MatchProp< double> match) → WidgetMatcher<Text> -
Expects that textScaleFactor of Text matches the condition in
match
. -
hasTextWhere(
MatchProp< String> match) → WidgetMatcher<Text> -
Expects that text of Text matches the condition in
match
. -
hasTextWidthBasis(
TextWidthBasis? value) → WidgetMatcher< Text> -
Expects that textWidthBasis of Text equals (==)
value
. -
hasTextWidthBasisWhere(
MatchProp< TextWidthBasis> match) → WidgetMatcher<Text> -
Expects that textWidthBasis of Text matches the condition in
match
.