viewInsetsTestValue property

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

Hides the real view insets and reports the given viewInsetsTestValue instead.

Use FakeViewPadding to set this value for testing.

Implementation

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