Johnhong9527 5 년 전
부모
커밋
5a3c458623
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/lib/main.dart

+ 2 - 2
app/lib/main.dart

@@ -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",
                 );
               },
             ),