hasScrollPaddingWhere method

WidgetMatcher<TextField> hasScrollPaddingWhere(
  1. MatchProp<EdgeInsetsGeometry> match
)

Expects that scrollPadding of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasScrollPaddingWhere((it) => it.equals(EdgeInsets.all(8.0)));

Implementation

WidgetMatcher<TextField> hasScrollPaddingWhere(
    MatchProp<EdgeInsetsGeometry> match) {
  return hasDiagnosticProp<EdgeInsetsGeometry>('scrollPadding', match);
}