isPrimaryScreen property
bool
get
isPrimaryScreen
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
//AFScreenID? get primaryScreenId;
/// Returns true if this is a screen that takes up the full screen, as opposed to a subclass like
/// drawer, dialog, bottom sheet, etc.
bool get isPrimaryScreen { return false; }