Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

[State Restoration] Starter app #391

Merged
merged 4 commits into from
Dec 17, 2020

Conversation

shihaohong
Copy link

@shihaohong shihaohong commented Dec 16, 2020

Not much to do here -- Once drawers are state restorable in the framework (see flutter/flutter#70925), this should automatically pick that up. Otherwise, this will prepare the starter app for any future state restoration additions to the mini app.

Related to flutter/flutter#62916

@@ -17,6 +17,7 @@ class StarterApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
restorationScopeId: 'appNavigator',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the ID be something like starterApp?

@shihaohong shihaohong merged commit 4e0f7f8 into flutter:master Dec 17, 2020
@shihaohong shihaohong deleted the restorable-responsive-app branch January 5, 2021 03:30
@shihaohong shihaohong changed the title State Restorable starter app [State Restoration] Starter app Feb 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants