isPrimaryScreen property

  1. @override
bool get isPrimaryScreen
inherited

Screens that have their own element tree in testing must return their screen id here, otherwise return null. Returns true if this is a screen that takes up the full screen, as opposed to a subclass like drawer, dialog, bottom sheet, etc.

Implementation

@override
bool get isPrimaryScreen { return true; }