https://github.com/jonathanlight/flutter_login_view
https://github.com/jonathanlight/flutter_login_view
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonathanlight/flutter_login_view
- Owner: Jonathanlight
- Created: 2018-12-27T10:57:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-18T16:26:52.000Z (over 7 years ago)
- Last Synced: 2025-05-30T22:28:08.841Z (about 1 year ago)
- Language: Objective-C
- Size: 45.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flutter_login_tab
A new Flutter project for Login view.
```
Container(
margin: EdgeInsets.only(left: 16.0),
child: TextFormField(
controller: _username,
decoration: InputDecoration(
hintText: '请输入工号',
filled: true,
prefixIcon: Icon(
Icons.account_box,
size: 28.0,
),
suffixIcon: IconButton(
icon: Icon(Icons.remove),
onPressed: () {
debugPrint('222');
})),
),
),
#Hide and Show Password Flutter
new ListTile(
leading: const Icon(Icons.phone),
title: new TextField(
controller: password,
obscureText: _obscureText,
maxLength: 150,
decoration: new InputDecoration(
border: OutlineInputBorder(),
hintText: "Password",
filled: true,
suffixIcon: IconButton(
icon: Icon(Icons.remove_red_eye),
onPressed: _toggle
),
),
keyboardType: TextInputType.text,
style: TextStyle(color: Colors.red, fontWeight: FontWeight.normal),
),
),
```