hyzp_ybqx-Commit097:优化。已经能够保存已登录的用户信息

master
WinUser01 4 years ago
parent d70a3cefd2
commit bfe8777199

@ -418,7 +418,22 @@ class _LoginPageState extends State<LoginByName3> {
///ListView
Widget _buildListView() {
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: [
ListView.builder(
shrinkWrap: true,
@ -429,7 +444,6 @@ class _LoginPageState extends State<LoginByName3> {
child: Column(
children: [
Container(
width: ScreenUtil().screenWidth * 0.9,
// color: Colors.grey[200],
color: Colors.grey[200],
padding: EdgeInsets.only(left: 8, top: 8, right: 8, bottom: 8),
@ -477,6 +491,8 @@ class _LoginPageState extends State<LoginByName3> {
itemCount: g_users.length,
)
],
),
),
);
}
return Container();

Loading…
Cancel
Save