WidgetMatcher<W extends Widget>.fromSnapshot constructor

WidgetMatcher<W extends Widget>.fromSnapshot(
  1. WidgetSnapshot<W> snapshot
)

Factory constructor to create a WidgetMatcher from a WidgetSnapshot.

Implementation

factory WidgetMatcher.fromSnapshot(WidgetSnapshot<W> snapshot) =
    _WidgetMatcherFromSnapshot;