viewOf method

TestFlutterView viewOf(
  1. FinderBase<Element> finder
)

Finds the TestFlutterView that is the closest ancestor of the widget found by finder.

TestFlutterView can be used to modify view specific properties for testing.

See also:

Implementation

TestFlutterView viewOf(finders.FinderBase<Element> finder) {
  return _viewOf(finder) as TestFlutterView;
}