bright-gpu-74537
04/23/2023, 7:48 AMbright-gpu-74537
04/23/2023, 7:51 AMbright-gpu-74537
04/23/2023, 7:51 AMbright-gpu-74537
04/23/2023, 7:51 AMpowerful-morning-89
04/23/2023, 8:41 AMswift-action-11460
04/23/2023, 8:43 AMswift-action-11460
04/23/2023, 8:43 AMswift-action-11460
04/23/2023, 8:43 AMswift-action-11460
04/23/2023, 8:43 AMpowerful-morning-89
04/23/2023, 8:49 AMbright-gpu-74537
04/23/2023, 9:09 AMswift-action-11460
04/23/2023, 9:10 AMbright-gpu-74537
04/23/2023, 9:10 AMb = new Button(); b.text="A";
and then it changes it to b = new Button(); b.text="B";
then how will it know to rerun that function?bright-gpu-74537
04/23/2023, 9:10 AMswift-action-11460
04/23/2023, 9:10 AMbright-gpu-74537
04/23/2023, 9:12 AMswift-action-11460
04/23/2023, 9:12 AMpowerful-morning-89
04/23/2023, 9:13 AMbright-gpu-74537
04/23/2023, 9:14 AMbright-gpu-74537
04/23/2023, 9:15 AMbright-gpu-74537
04/23/2023, 9:17 AMbright-gpu-74537
04/23/2023, 9:18 AMpowerful-morning-89
04/23/2023, 9:33 AMdart
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const Center(child: Text('Hello', textDirection: TextDirection.ltr));
}
}
When a hot reload happens here, the Flutter runtime can just rebuild the entire widget tree behind the scenes.bright-gpu-74537
04/23/2023, 9:35 AMpowerful-morning-89
04/23/2023, 9:36 AMrefined-greece-48002
04/23/2023, 10:46 AMrefined-greece-48002
04/23/2023, 10:47 AMrefined-greece-48002
04/23/2023, 10:47 AMpowerful-morning-89
04/23/2023, 10:56 AM