Flutter Series 08: Network Requests with Http and Dio

Flutter Series 08: Network Requests with Http and Dio

Flutter comes with a built-in HTTP request library, while the third-party library that is more commonly used is Dio (as okhttp does not have a Dart version).1. Selection Criteria1. PerformanceBoth are based on Dart’s HttpClient at the core, and the actual request speed difference is minimal.2. Package SizeThe http package introduces approximately 60KB of .dex … Read more

Learn Dart Before Diving into Flutter: A Dart Tutorial for Android Developers

Learn Dart Before Diving into Flutter: A Dart Tutorial for Android Developers

This article is authored by Author:Sun Qiang Jimmy Link: https://www.jianshu.com/p/b6a773ed0fc1 This article is published with the author’s permission. 1 Introduction This article is based on the official documentation, summarizing the similarities and unique aspects of the Dart language compared to Java and Kotlin. Therefore, readers should have a basic understanding of Java and Kotlin. By … Read more