testOnlyRequireScreenIdMatchForTestContext property

  1. @override
bool get testOnlyRequireScreenIdMatchForTestContext
inherited

Uggg. In general, when looking up test data for a screen in prototype mode, you expect the screen id to match. However, when we popup little screens on top of the main screen e.g. a dialog, bottomsheet, or drawer, that is not the case.

Implementation

@override
bool get testOnlyRequireScreenIdMatchForTestContext { return true; }