|
@@ -167,7 +167,7 @@ class TipRoute extends StatelessWidget {
|
|
|
children: <Widget>[
|
|
|
Text(text),
|
|
|
RaisedButton(
|
|
|
- onPressed: () => Navigator.pop(context, "我是返回值1111"),
|
|
|
+ onPressed: () => Navigator.pop(context, "我是返回值"),
|
|
|
child: Text("返回"),
|
|
|
)
|
|
|
],
|
|
@@ -191,7 +191,7 @@ class RouterTestRoute extends StatelessWidget {
|
|
|
builder: (context) {
|
|
|
return TipRoute(
|
|
|
// 路由参数
|
|
|
- text: "777我是提示xxxx",
|
|
|
+ text: "我是提示xxxx",
|
|
|
);
|
|
|
},
|
|
|
),
|