mirror of
https://github.com/RxReader/wechat_kit.git
synced 2025-08-06 15:20:24 +08:00
扫码登录
This commit is contained in:
@ -115,6 +115,18 @@ class _HomeState extends State<Home> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
ListTile(
|
||||||
|
title: const Text('扫码登录'),
|
||||||
|
onTap: () {
|
||||||
|
Navigator.of(context).push(MaterialPageRoute<dynamic>(
|
||||||
|
builder: (BuildContext context) => Qrauth(
|
||||||
|
wechat: _wechat,
|
||||||
|
),
|
||||||
|
)).then((dynamic result) {
|
||||||
|
|
||||||
|
});
|
||||||
|
},
|
||||||
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
title: const Text('获取用户信息'),
|
title: const Text('获取用户信息'),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
|
Reference in New Issue
Block a user