We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e1377b commit 3b50d22Copy full SHA for 3b50d22
FRouter/FRouter.dart
@@ -176,14 +176,6 @@ class FRouter extends StatefulWidget {
176
@override
177
FRouterState createState() => FRouterState();
178
179
- Map<String, WidgetBuilder> datas = {
180
- '/pageone': (builder) {
181
- return PageOne('数据1');
182
- },
183
- '/pagetwo': (builder) => PageTwo('数据2'),
184
- '/pagethree': (builder) => PageThree('数据3'),
185
- };
186
-
187
/// 发送路由到新页面
188
static sendRouterPage(BuildContext context, Widget page) {
189
Navigator.of(context)
@@ -333,4 +325,4 @@ class FRouterState extends State<FRouter> {
333
325
: widget.child;
334
326
}
335
327
336
-}
328
+}
0 commit comments