hyzp_ybqx-Commit088:已经实现Url下载响应
This commit is contained in:
@@ -93,6 +93,10 @@ class _LoginPageState extends State<page6_download> {
|
|||||||
return Row(
|
return Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
|
InkWell(
|
||||||
|
onTap: onTapFun,
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
Image.asset(
|
Image.asset(
|
||||||
leadPath,
|
leadPath,
|
||||||
height: ScreenUtil().setHeight(88),
|
height: ScreenUtil().setHeight(88),
|
||||||
@@ -110,6 +114,7 @@ class _LoginPageState extends State<page6_download> {
|
|||||||
// ),
|
// ),
|
||||||
child: TextField(
|
child: TextField(
|
||||||
// textAlignVertical: TextAlignVertical(y: 1.0),
|
// textAlignVertical: TextAlignVertical(y: 1.0),
|
||||||
|
onTap: onTapFun,
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
cursorHeight: 60,
|
cursorHeight: 60,
|
||||||
style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
||||||
@@ -123,6 +128,9 @@ class _LoginPageState extends State<page6_download> {
|
|||||||
borderRadius: BorderRadius.circular(30), borderSide: BorderSide.none),
|
borderRadius: BorderRadius.circular(30), borderSide: BorderSide.none),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
SizedBox(width: ScreenUtil().setWidth(40)),
|
SizedBox(width: ScreenUtil().setWidth(40)),
|
||||||
Image.asset('assets/images/copy.png',
|
Image.asset('assets/images/copy.png',
|
||||||
@@ -215,7 +223,7 @@ class _LoginPageState extends State<page6_download> {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Text("apk软件下载",
|
child: Text("软件下载(apk)",
|
||||||
style: TextStyle(color: Colors.white, fontSize: 20),
|
style: TextStyle(color: Colors.white, fontSize: 20),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
overflow: TextOverflow.ellipsis),
|
overflow: TextOverflow.ellipsis),
|
||||||
@@ -241,7 +249,7 @@ class _LoginPageState extends State<page6_download> {
|
|||||||
child: Image.asset('assets/images/ybsthbj.png', fit: BoxFit.fitHeight),
|
child: Image.asset('assets/images/ybsthbj.png', fit: BoxFit.fitHeight),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 30),
|
SizedBox(height: 40),
|
||||||
Text('扫描二维码下载', textAlign: TextAlign.center, style: TextStyle(fontSize: 20)),
|
Text('扫描二维码下载', textAlign: TextAlign.center, style: TextStyle(fontSize: 20)),
|
||||||
|
|
||||||
//原文链接:https://blog.csdn.net/houruoyu3/article/details/112314090
|
//原文链接:https://blog.csdn.net/houruoyu3/article/details/112314090
|
||||||
@@ -264,7 +272,7 @@ class _LoginPageState extends State<page6_download> {
|
|||||||
// embeddedImage: AssetImage('assets/images/ybsthbj.png'),
|
// embeddedImage: AssetImage('assets/images/ybsthbj.png'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 30),
|
SizedBox(height: 40),
|
||||||
Text('网址下载', textAlign: TextAlign.center, style: TextStyle(fontSize: 20)),
|
Text('网址下载', textAlign: TextAlign.center, style: TextStyle(fontSize: 20)),
|
||||||
//账户管理项目
|
//账户管理项目
|
||||||
_getUrlRow(download_url,
|
_getUrlRow(download_url,
|
||||||
|
|||||||
Reference in New Issue
Block a user