Refactor of cupertino/material/widgets app (#22161)
* Make CupertinoApp and MaterialApp both use WidgetsApp for Navigator * Make CupertinoApp and MaterialApp const constructors * Make WidgetsApp routes aware * Update tests
This commit is contained in:
@@ -15,7 +15,7 @@ void main() {
|
||||
await WidgetsBinding.instance.reassembleApplication();
|
||||
return log;
|
||||
});
|
||||
runApp(MaterialApp(home: const Test()));
|
||||
runApp(const MaterialApp(home: Test()));
|
||||
}
|
||||
|
||||
class Test extends SingleChildRenderObjectWidget {
|
||||
|
||||
Reference in New Issue
Block a user