ContainerMatcher extension
Matchers for the properties of Container provided via Diagnosticable.debugFillProperties
Methods
-
hasAlignment(
AlignmentGeometry? value) → WidgetMatcher< Container> -
Expects that alignment of
Container
equals (==)value
. -
hasAlignmentWhere(
MatchProp< AlignmentGeometry> match) → WidgetMatcher<Container> -
Expects that alignment of
Container
matches the condition inmatch
. -
hasBackground(
Decoration? value) → WidgetMatcher< Container> -
Expects that background of
Container
equals (==)value
. -
hasBackgroundWhere(
MatchProp< Decoration> match) → WidgetMatcher<Container> -
Expects that background of
Container
matches the condition inmatch
. -
hasClipBehavior(
Clip? value) → WidgetMatcher< Container> -
Expects that clipBehavior of
Container
equals (==)value
. -
hasClipBehaviorWhere(
MatchProp< Clip> match) → WidgetMatcher<Container> -
Expects that clipBehavior of
Container
matches the condition inmatch
. -
hasConstraints(
BoxConstraints? value) → WidgetMatcher< Container> -
Expects that constraints of
Container
equals (==)value
. -
hasConstraintsWhere(
MatchProp< BoxConstraints> match) → WidgetMatcher<Container> -
Expects that constraints of
Container
matches the condition inmatch
. -
hasForeground(
Decoration? value) → WidgetMatcher< Container> -
Expects that foreground of
Container
equals (==)value
. -
hasForegroundWhere(
MatchProp< Decoration> match) → WidgetMatcher<Container> -
Expects that foreground of
Container
matches the condition inmatch
. -
hasMargin(
EdgeInsetsGeometry? value) → WidgetMatcher< Container> -
Expects that margin of
Container
equals (==)value
. -
hasMarginWhere(
MatchProp< EdgeInsetsGeometry> match) → WidgetMatcher<Container> -
Expects that margin of
Container
matches the condition inmatch
. -
hasPadding(
EdgeInsetsGeometry? value) → WidgetMatcher< Container> -
Expects that padding of
Container
equals (==)value
. -
hasPaddingWhere(
MatchProp< EdgeInsetsGeometry> match) → WidgetMatcher<Container> -
Expects that padding of
Container
matches the condition inmatch
. -
hasTransform(
Matrix4? value) → WidgetMatcher< Container> -
Expects that transform of
Container
equals (==)value
. -
hasTransformWhere(
MatchProp< Matrix4> match) → WidgetMatcher<Container> -
Expects that transform of
Container
matches the condition inmatch
.