TextButtonMatcher extension

Matchers for the properties of TextButton provided via Diagnosticable.debugFillProperties

on

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 in match.
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 in match.
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 in match.