shouldSplit property

bool shouldSplit
final

Flag used to decide whether split navigator should be used or not.

Typical use shouldSplit: kIsWeb || context.isTablet()

Making this mandatory so that existing implementations do not miss this change.

If the value is set to true, then a nested navigator will be injected otherwise, the nearest navigator will be used.

Implementation

final bool shouldSplit;