hasHorizontalTitleGap method

WidgetMatcher<ListTile> hasHorizontalTitleGap(
  1. double? value
)

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

Example usage:

spot<ListTile>().existsOnce().hasHorizontalTitleGap(10.5);

Implementation

WidgetMatcher<ListTile> hasHorizontalTitleGap(double? value) {
  return hasDiagnosticProp<double>('horizontalTitleGap',
      (it) => value == null ? it.isNull() : it.equals(value));
}