TextSelector extension
Allows filtering Text by the properties provided via Diagnosticable.debugFillProperties
- on
Methods
-
whereLocale(
MatchProp< Locale> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where locale matches the condition.
-
whereMaxLines(
MatchProp< int> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where maxLines matches the condition.
-
whereOverflow(
MatchProp< TextOverflow> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where overflow matches the condition.
-
whereSoftWrap(
MatchProp< bool> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where softWrap matches the condition.
-
whereText(
MatchProp< String> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where text matches the condition.
-
whereTextAlign(
MatchProp< TextAlign> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where textAlign matches the condition.
-
whereTextDirection(
MatchProp< TextDirection> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where textDirection matches the condition.
-
whereTextHeightBehavior(
MatchProp< TextHeightBehavior> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where textHeightBehavior matches the condition.
-
whereTextScaleFactor(
MatchProp< double> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where textScaleFactor matches the condition.
-
whereTextWidthBasis(
MatchProp< TextWidthBasis> match) → WidgetSelector<Text> - Creates a WidgetSelector that finds all Text where textWidthBasis matches the condition.
-
withLocale(
Locale? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where locale equals (==)
value
. -
withMaxLines(
int? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where maxLines equals (==)
value
. -
withOverflow(
TextOverflow? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where overflow equals (==)
value
. -
withSoftWrap(
bool? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where softWrap equals (==)
value
. -
withText(
String? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where text equals (==)
value
. -
withTextAlign(
TextAlign? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where textAlign equals (==)
value
. -
withTextDirection(
TextDirection? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where textDirection equals (==)
value
. -
withTextHeightBehavior(
TextHeightBehavior? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where textHeightBehavior equals (==)
value
. -
withTextScaleFactor(
double? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where textScaleFactor equals (==)
value
. -
withTextWidthBasis(
TextWidthBasis? value) → WidgetSelector< Text> -
Creates a WidgetSelector that finds all Text where textWidthBasis equals (==)
value
.