首页 > TAG信息列表 > StatefulBuilder
flutter 杂项 —— Stateful 与 Stateless 的更新
一、使用 StatefulBuilder 单独更新某个组件的状态 示例: await showDialog<void>( context: context, builder: (BuildContext context) { int? selectedRadio = 0; return AlertDialog( content: StatefulBuilder( builder: (BuildContext context, St