提交 53286a33 authored 作者: JarvanMo's avatar JarvanMo

demo:add shareVideo

上级 169dd180
......@@ -47,7 +47,8 @@ class _MyAppState extends State<MyApp> {
class ShareSelectorPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Column(
return Center(
child: new Column(
children: <Widget>[
new OutlineButton(onPressed: () {
Navigator.of(context).pushNamed("shareText");
......@@ -63,7 +64,12 @@ class ShareSelectorPage extends StatelessWidget {
Navigator.of(context).pushNamed("shareMusic");
}, child: const Text("share music")),
new OutlineButton(onPressed: () {
Navigator.of(context).pushNamed("shareVideo");
}, child: const Text("share video")),
],
),
);
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论