paddingTestValue property

  1. @Deprecated('Use WidgetTester.view.padding instead. ' 'Deprecated to prepare for the upcoming multi-window support. ' 'This feature was deprecated after v3.9.0-0.1.pre.')
set paddingTestValue (ViewPadding value)

Hides the real padding and reports the given paddingTestValue instead.

Use FakeViewPadding to set this value for testing.

Implementation

@Deprecated(
  'Use WidgetTester.view.padding instead. '
  'Deprecated to prepare for the upcoming multi-window support. '
  'This feature was deprecated after v3.9.0-0.1.pre.'
)
set paddingTestValue(ViewPadding value) { // ignore: avoid_setters_without_getters
  _view.padding = value is FakeViewPadding ? value : FakeViewPadding._wrap(value);
}