Flutter (7): Introduction to Dart language

Flutter (7): Introduction to Dart language

7.1 Variable Declaration#1) var KeywordSimilar to the var in JavaScript, it can receive variables of any type. However, the biggest difference is that in Dart, once a var variable is assigned a value,···
Time: Views:263
Flutter (6): Common configuration issues

Flutter (6): Common configuration issues

1. Android Studio Issues#1) Missing Dependency Library IssueOne of the most common issues when getting started with Android is related to missing dependency libraries, as shown in Figure . At this poi···
Time: Views:284
Flutter (5): Connect to the device and run the Flutter app

Flutter (5): Connect to the device and run the Flutter app

On Windows, Flutter only supports building and running applications for Android devices, while macOS supports both iOS and Android devices. Below are instructions on how to connect Android and iOS dev···
Time: Views:259
Flutter (4): IDE configuration and usage

Flutter (4): IDE configuration and usage

Theoretically, you can use any text editor and command-line tools to build Flutter applications. However, Flutter officially recommends using either Android Studio or VS Code for a better development ···
Time: Views:266
Flutter (87): Implementing Localizations

Flutter (87): Implementing Localizations

In the previous section, we discussed how the Material component library supports internationalization. In this section, we will explore how to support multiple languages in our own UI. As mentioned e···
Time: Views:194
Flutter (83): Convert JSON to Dart Model class

Flutter (83): Convert JSON to Dart Model class

83.1 JSON to Dart Classes1. IntroductionIn practical applications, backend APIs often return structured data such as JSON or XML. For example, the data returned from requesting the GitHub API is a JSO···
Time: Views:197
Flutter (81): Using WebSockets

Flutter (81): Using WebSockets

The HTTP protocol is stateless, meaning that clients can only initiate requests, and servers respond passively. The server cannot actively push content to the client, and once the server's respons···
Time: Views:221
Flutter (79): Http request library - dio

Flutter (79): Http request library - dio

79.1 Introducing DioAs mentioned in the previous section, directly using HttpClient to make network requests can be cumbersome, as many aspects require manual handling. When it comes to file uploads/d···
Time: Views:215