padding property

  1. @override
FakeViewPadding padding
override

The padding to use for this test.

Defaults to the value provided by FlutterView.padding. This can only be set in a test environment to emulate different view configurations. A standard FlutterView is not mutable from the framework.

See also:

Implementation

@override
FakeViewPadding get padding => _padding ?? FakeViewPadding._wrap(_view.padding);
void padding=(FakeViewPadding value)

Implementation

set padding(FakeViewPadding value) {
  _padding = value;
  platformDispatcher.onMetricsChanged?.call();
}