viewPaddingTestValue property

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

Hides the real view padding and reports the given paddingTestValue instead.

Use FakeViewPadding to set this value for testing.

Implementation

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