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