|
|
|
@ -100,14 +100,31 @@ class _LoginPageState extends State<page6_download> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(width: ScreenUtil().setWidth(40)),
|
|
|
|
SizedBox(width: ScreenUtil().setWidth(40)),
|
|
|
|
Container(
|
|
|
|
Container(
|
|
|
|
width: ScreenUtil().screenWidth - 130,
|
|
|
|
width: ScreenUtil().screenWidth - 150,
|
|
|
|
child: Text(
|
|
|
|
// height: ScreenUtil().setHeight(200),
|
|
|
|
title,
|
|
|
|
// child: Text(
|
|
|
|
style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
|
|
|
// title,
|
|
|
|
|
|
|
|
// style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
|
|
|
|
|
|
|
// maxLines: 1,
|
|
|
|
|
|
|
|
// overflow: TextOverflow.ellipsis,
|
|
|
|
|
|
|
|
// ),
|
|
|
|
|
|
|
|
child: TextField(
|
|
|
|
|
|
|
|
// textAlignVertical: TextAlignVertical(y: 1.0),
|
|
|
|
maxLines: 1,
|
|
|
|
maxLines: 1,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
cursorHeight: 60,
|
|
|
|
|
|
|
|
style: TextStyle(fontSize: size, decoration: TextDecoration.underline),
|
|
|
|
|
|
|
|
controller: TextEditingController(text: title),
|
|
|
|
|
|
|
|
readOnly: true,
|
|
|
|
|
|
|
|
decoration: InputDecoration(
|
|
|
|
|
|
|
|
//contentPadding: EdgeInsets.only(bottom: 16),
|
|
|
|
|
|
|
|
// hintText: title,
|
|
|
|
|
|
|
|
isCollapsed: true, //重点,相当于高度包裹的意思,必须设置为true,不然有默认奇妙的最小高度
|
|
|
|
|
|
|
|
border: OutlineInputBorder(
|
|
|
|
|
|
|
|
borderRadius: BorderRadius.circular(30), borderSide: BorderSide.none),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
SizedBox(width: ScreenUtil().setWidth(40)),
|
|
|
|
Image.asset('assets/images/copy.png',
|
|
|
|
Image.asset('assets/images/copy.png',
|
|
|
|
height: ScreenUtil().setHeight(88), fit: BoxFit.fitHeight),
|
|
|
|
height: ScreenUtil().setHeight(88), fit: BoxFit.fitHeight),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|