Commit fa50aaec authored by Adam Barth's avatar Adam Barth

Merge pull request #1986 from abarth/remove_scaffolding

Remove scaffolding for Navigator1 to Navigator2 transition
parents 1a684291 f9abef3e
......@@ -31,6 +31,13 @@ AssetBundle _initDefaultBundle() {
final AssetBundle _defaultBundle = _initDefaultBundle();
class RouteArguments {
const RouteArguments({ this.context });
final BuildContext context;
}
typedef Widget RouteBuilder(RouteArguments args);
typedef RouteBuilder RouteGenerator(String name);
class MaterialApp extends StatefulComponent {
MaterialApp({
Key key,
......
......@@ -5,15 +5,6 @@
import 'framework.dart';
import 'overlay.dart';
// ---------------- Begin scaffolding for Navigator1 to Navigator2 transition
class RouteArguments {
const RouteArguments({ this.context });
final BuildContext context;
}
typedef Widget RouteBuilder(RouteArguments args);
typedef RouteBuilder RouteGenerator(String name);
// ---------------- End scaffolding for Navigator1 to Navigator2 transition
abstract class Route {
List<OverlayEntry> get overlayEntries;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment