Ralph/ July 23, 2018/ Flutter

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
Share this Post