viewOf method
- 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:
- view which returns the TestFlutterView used when only a single view is being used.
Implementation
TestFlutterView viewOf(finders.FinderBase<Element> finder) {
return _viewOf(finder) as TestFlutterView;
}