Flutter Hot reloading not working in android studio in Mac. Try changing the texting inside the MyWidget Build method and see if it works.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | import 'package:flutter/material.dart'; void main() { runApp(new MaterialApp( home: new Scaffold( appBar: new AppBar( title: new Text("Demo Project"), ), body: new MyWidget(), ), )); } class MyWidget extends StatelessWidget { const MyWidget({ Key key, }) : super(key: key); @override Widget build(BuildContext context) { return Center(child: new Text("Hello World!!!")); } } |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.