MultiWidgetMatcher<W extends Widget>.fromSnapshot constructor
const
MultiWidgetMatcher<W extends Widget>.fromSnapshot (
- WidgetSnapshot<
W> snapshot
Constructs a MultiWidgetMatcher from a WidgetSnapshot.
This constructor takes a snapshot of matched widgets and creates a matcher for handling multiple widgets.
Implementation
const MultiWidgetMatcher.fromSnapshot(WidgetSnapshot<W> snapshot)
: _snapshot = snapshot;