其他分享
首页 > 其他分享> > flutter dialog刷新

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;
                                                          },
                                                        );
                                                      },
                                                    ),
                                                  ],
                                                ),

  

标签:index,context,center,value,dialog,刷新,internalmove,flutter,datas
来源: https://www.cnblogs.com/pythonClub/p/15837083.html