diff --git a/example/lib/main.dart b/example/lib/main.dart index 87cd9d5..0975ec0 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -118,13 +118,13 @@ class _HomeState extends State { ListTile( title: const Text('扫码登录'), onTap: () { - Navigator.of(context).push(MaterialPageRoute( - builder: (BuildContext context) => Qrauth( - wechat: _wechat, - ), - )).then((dynamic result) { - - }); + Navigator.of(context) + .push(MaterialPageRoute( + builder: (BuildContext context) => Qrauth( + wechat: _wechat, + ), + )) + .then((dynamic result) {}); }, ), ListTile(