From 399f8800546c2a9a700479ce45a637afd81db83d Mon Sep 17 00:00:00 2001 From: JingChiang Date: Sun, 8 Sep 2024 21:32:52 +0800 Subject: [PATCH] style: code format --- lib/PersonalInfo.dart | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/PersonalInfo.dart b/lib/PersonalInfo.dart index 9aade9d..e53289f 100644 --- a/lib/PersonalInfo.dart +++ b/lib/PersonalInfo.dart @@ -14,13 +14,11 @@ class PersonalInfo extends StatefulWidget { } class _PersonalInfoState extends State { - String _name = '', - _phone = '', - _gender = '', - _address = '', - _email = '', - _password = ''; + String _name = '', _phone = '', _gender = '', _address = '', _email = '', _password = ''; + bool _isEditing = false; //是否為編輯狀態 + bool _passwordNotVisible = true; + final TextEditingController _nameController = TextEditingController(); final TextEditingController _phoneController = TextEditingController(); final TextEditingController _genderController = TextEditingController(); @@ -158,8 +156,6 @@ class _PersonalInfoState extends State { )); } - //頁面 - //頁面 @override Widget build(BuildContext context) {