hasContentPaddingWhere method

WidgetMatcher<ListTile> hasContentPaddingWhere(
  1. MatchProp<EdgeInsetsGeometry> match
)

Expects that contentPadding of ListTile matches the condition in match.

Example usage:

spot<ListTile>().existsOnce().hasContentPaddingWhere((it) => it.equals(EdgeInsets.all(8.0)));

Implementation

WidgetMatcher<ListTile> hasContentPaddingWhere(
    MatchProp<EdgeInsetsGeometry> match) {
  return hasDiagnosticProp<EdgeInsetsGeometry>('contentPadding', match);
}