Flutter | Troubleshooting

Migration Dart Plugins

import 'package:flutter/services.dart';
client =createHttpClient();



import 'package:http/http.dart' as http;
client = new http.Client();





Your app is not using AndroidX

GoTo Flutter_Project -> android -> gradle.properties file. Open the gradle.properties file in any Text editor.

Add below lines in this file and Save the file.


Open your Flutter Project Root directory in Command Prompt or Terminal and execute

flutter clean

Flutter | Getting started

Create your first App Copied from here and here Step 1: Create the starter Flutter app Installation Installation of Flutter Instructions on https://flutter.io/get-started/install/ […]