merge
This commit is contained in:
@@ -22,21 +22,9 @@ class _PinLoginPageState extends State<PinLoginPage> {
|
|||||||
final _formKey = GlobalKey<FormState>();
|
final _formKey = GlobalKey<FormState>();
|
||||||
TextEditingController _fcsIdCtl = new TextEditingController();
|
TextEditingController _fcsIdCtl = new TextEditingController();
|
||||||
|
|
||||||
@override
|
|
||||||
void initState() {
|
|
||||||
super.initState();
|
|
||||||
|
|
||||||
if (mounted) {
|
|
||||||
setState(() {});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final fcsIdBox = TextFormField(
|
final fcsIdBox = TextFormField(
|
||||||
|
|
||||||
controller: _fcsIdCtl,
|
controller: _fcsIdCtl,
|
||||||
focusNode: FocusNode(),
|
|
||||||
|
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
_fcsIdCtl.value = TextEditingValue(
|
_fcsIdCtl.value = TextEditingValue(
|
||||||
text: value.toUpperCase(),
|
text: value.toUpperCase(),
|
||||||
@@ -56,8 +44,10 @@ class _PinLoginPageState extends State<PinLoginPage> {
|
|||||||
cursorColor: primaryColor,
|
cursorColor: primaryColor,
|
||||||
keyboardType: TextInputType.text,
|
keyboardType: TextInputType.text,
|
||||||
decoration: new InputDecoration(
|
decoration: new InputDecoration(
|
||||||
prefixText: prefixText,
|
prefix: Text(
|
||||||
prefixStyle: TextStyle(color: Colors.black),
|
prefixText,
|
||||||
|
style: TextStyle(color: Colors.black),
|
||||||
|
),
|
||||||
contentPadding: EdgeInsets.all(0),
|
contentPadding: EdgeInsets.all(0),
|
||||||
labelStyle: newLabelStyle(color: Colors.black54, fontSize: 17),
|
labelStyle: newLabelStyle(color: Colors.black54, fontSize: 17),
|
||||||
enabledBorder: UnderlineInputBorder(
|
enabledBorder: UnderlineInputBorder(
|
||||||
|
|||||||
Reference in New Issue
Block a user