TextButtonMatcher extension
Matchers for the properties of TextButton provided via Diagnosticable.debugFillProperties
Methods
-
hasFocusNode(
FocusNode? value) → WidgetMatcher< TextButton> -
Expects that focusNode of
TextButton
equals (==)value
. -
hasFocusNodeWhere(
MatchProp< FocusNode> match) → WidgetMatcher<TextButton> -
Expects that focusNode of
TextButton
matches the condition inmatch
. -
hasStyle(
ButtonStyle? value) → WidgetMatcher< TextButton> -
Expects that style of
TextButton
equals (==)value
. -
hasStyleWhere(
MatchProp< ButtonStyle> match) → WidgetMatcher<TextButton> -
Expects that style of
TextButton
matches the condition inmatch
. -
isEnabled(
bool? value) → WidgetMatcher< TextButton> -
Expects that enabled of
TextButton
equals (==)value
. -
isEnabledWhere(
MatchProp< bool> match) → WidgetMatcher<TextButton> -
Expects that enabled of
TextButton
matches the condition inmatch
.