Unimplemented handling of missing static target in Flutter. Below code works for me. However, this is more like what the app should look like.
1 2 3 4 5 6 7 8 9 10 11 12 | import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: 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.