This commit is contained in:
zhutao
2025-09-09 17:57:02 +08:00
parent ccb7d5bb24
commit 3df6e3d49e
22 changed files with 63 additions and 44 deletions

View File

@@ -20,9 +20,9 @@ class _ProfileSectionState extends State<ProfileSection> {
final TextEditingController _inputController = TextEditingController();
final List<String> _tips = [
"Whenever your coach creates a plan for you, theyll start by looking at this information.",
"The more details you share, the better your coach can tailor steps that fit your unique situation.",
"You can also add requests here — for example, I dont eat cilantro.",
"When your coach makes a plan for you,they'll check this info first.",
"The more details you toss in,the better your coach can tailor steps to match your totally unique situation.",
"You can also let your coach know here,like,Chocolate is a no-go for me 'cause I'm allergic",
];
//防抖
@@ -78,7 +78,8 @@ class _ProfileSectionState extends State<ProfileSection> {
style: TextStyle(fontSize: 14, letterSpacing: 1),
onChanged: _onTextChanged,
decoration: InputDecoration(
hintText: "Im 19 and always use a dishwasher. Please dont follow the hand-wash disassembly steps.",
hintText:
"I'm a busy office worker who relies on a rice cooker every day-could you skip the steps for cooking rice in a regular pot?",
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.grey), // 普通状态
borderRadius: BorderRadius.circular(8),