hyzp_ybqx-Commit097:优化。已经能够保存已登录的用户信息
This commit is contained in:
@@ -418,7 +418,22 @@ class _LoginPageState extends State<LoginByName3> {
|
|||||||
///构建历史账号ListView
|
///构建历史账号ListView
|
||||||
Widget _buildListView() {
|
Widget _buildListView() {
|
||||||
if (g_can_expand_ListView) {
|
if (g_can_expand_ListView) {
|
||||||
return Column(
|
return Center(
|
||||||
|
child: Container(
|
||||||
|
width: ScreenUtil().screenWidth * 0.9,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
border: Border(
|
||||||
|
left: BorderSide(width: 1, color: Colors.black),
|
||||||
|
right: BorderSide(width: 1, color: Colors.black),
|
||||||
|
bottom: BorderSide(width: 1, color: Colors.black),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
// decoration: new BoxDecoration(
|
||||||
|
// border: new Border.all(color: Colors.black, width: 0.5),
|
||||||
|
// // color: Colors.black,
|
||||||
|
// // borderRadius: new BorderRadius.circular((20.0)),
|
||||||
|
// ),
|
||||||
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
ListView.builder(
|
ListView.builder(
|
||||||
shrinkWrap: true,
|
shrinkWrap: true,
|
||||||
@@ -429,7 +444,6 @@ class _LoginPageState extends State<LoginByName3> {
|
|||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
width: ScreenUtil().screenWidth * 0.9,
|
|
||||||
// color: Colors.grey[200],
|
// color: Colors.grey[200],
|
||||||
color: Colors.grey[200],
|
color: Colors.grey[200],
|
||||||
padding: EdgeInsets.only(left: 8, top: 8, right: 8, bottom: 8),
|
padding: EdgeInsets.only(left: 8, top: 8, right: 8, bottom: 8),
|
||||||
@@ -477,6 +491,8 @@ class _LoginPageState extends State<LoginByName3> {
|
|||||||
itemCount: g_users.length,
|
itemCount: g_users.length,
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return Container();
|
return Container();
|
||||||
|
|||||||
Reference in New Issue
Block a user