hasContentPadding method

WidgetMatcher<ListTile> hasContentPadding(
  1. EdgeInsetsGeometry? value
)

Expects that contentPadding of ListTile equals (==) value.

Example usage:

spot<ListTile>().existsOnce().hasContentPadding(EdgeInsets.all(8.0));

Implementation

WidgetMatcher<ListTile> hasContentPadding(EdgeInsetsGeometry? value) {
  return hasDiagnosticProp<EdgeInsetsGeometry>('contentPadding',
      (it) => value == null ? it.isNull() : it.equals(value));
}