flutter dialog刷新

Row(
                                                  mainAxisAlignment: MainAxisAlignment.center,
                                                  crossAxisAlignment: CrossAxisAlignment.center,
                                                  children: [
                                                    Text('是否内部移库?   ->'),
                                                    Builder(
                                                      builder: (BuildContext context) {
                                                        return Checkbox(
                                                          value: datas[index]['internalmove'],
                                                          onChanged: (value) {
                                                            (context as Element).markNeedsBuild();
                                                            datas[index]['internalmove'] = value;
                                                          },
                                                        );
                                                      },
                                                    ),
                                                  ],
                                                ),

  

posted @ 2022-01-23 19:23  CrossPython  阅读(314)  评论(0编辑  收藏  举报