更新控制跳转

This commit is contained in:
wyf
2025-07-02 14:33:08 +08:00
parent a4aa105a3a
commit 58b2bebe93
9 changed files with 131 additions and 75 deletions

View File

@@ -379,7 +379,8 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
decoration: BoxDecoration(),
child: InkWell(
onTap: () {
FocusScope.of(context).unfocus();
FocusScope.of(context)
.requestFocus(FocusNode());
Future.delayed(
const Duration(milliseconds: 250),
() {
@@ -444,13 +445,14 @@ class _MHTPeopleInfoPageState extends State<MHTPeopleInfoPage> {
decoration: BoxDecoration(),
child: InkWell(
onTap: () {
FocusScope.of(context).unfocus();
FocusScope.of(context)
.requestFocus(FocusNode());
Future.delayed(
const Duration(milliseconds: 250),
() {
showWeightPickerDialog(
context,
initialWeight: "0",
initialWeight: "50",
onConfirm: (int selectedWeight) {
setState(() {
peopleList[index]['weight'] =