Replaces the whole screen stack with template.
template
Future<void> setRoot(Map<String, Object?> template);