Flutter Environmental Installation

Install Notion – The all-in-one workspace for your notes, tasks, wikis, and databases.A new tool that blends your everyday work apps into one. It’s the all-in-one workspace for you and your teamhttps://www.notion.so/serious-lose/Flutter-Environmental-Installation-ead2ea1520ba4129bda14372694b9d7e?pvs=4 //Install dart brew install dart ? @HLFdeMacBook-Pro  ~  flutter doctor Doctor summary (to see all details, run flutter doctor -v): [?] […]

03_Flutter custom drop-down menu

03_Flutter custom drop-down menu In Flutter’s built-in API, you can use showMenu to achieve an effect similar to a drop-down menu, or use the PopupMenuButton component. PopupMenuButton also uses the showMenu API internally, but when using showMenu, the display of the drop-down panel has been agreed to death, and only one can be placed. For […]

Flutter technology research

1. Introduction to Flutter Flutter is Google’s high-performance, cross-end UI framework. It can support multiple platforms such as iOS, Android, Windows, MAC, and Linux through a set of codes, and can achieve native performance. The development language it uses is Dart, which is also a computer programming language developed by Google. Its syntax is similar […]

16 Dart tips every Flutter developer needs to know

Did you know that Dart supports string multiplication? The following example shows how to print a Christmas tree using string multiplication void main() {<!– –> for (var i = 1; i <= 5; i + + ) {<!– –> print(” * i); } } //Output: // // // // // copy Isn’t it cool? You […]

[Flutter Question Series Part 79] Using ReorderableListView in Flutter to implement the function of drag-and-drop sorting list components

This is [Part 79 of the Flutter Question Series]. If you find it useful, please follow the column. Current development environment Flutter version: 3.10.5, Dart version: 3.0.5, operating system: macOS Article directory One: Effect Demonstration Two: ReorderableListView source code analysis 2-1: Required attributes 2-2: Optional attributes Three: How to use ReorderableListView Four: How to specify […]

Flutter development practice-hero implements image preview function extend_image

Flutter development practice-hero implements image preview function extend_image In development, we often encounter the need for image preview. When you click on an image in the feed, the preview will be opened. Multiple images can be switched left and right with swiper, and double-click the image and perform gestures to zoom. This main implementation uses […]

Flutter page sliding callback processing solution

Article directory TabBarView Introduction to TabBarView TabBarView detailed introduction How to handle transactions when TabBarView slides example PageController Introduction to PageController Detailed introduction of PageController TabBarView Introduction to TabBarView TabBarView is a widget in Flutter that displays a tab view. It is often used together with TabBar to implement tabbed navigation, allowing users to switch […]

Flutter and iOS communication development

When doing Flutter development, communication between Flutter and Native is usually inseparable. For example: when initializing Flutter, Native transfers data to Dart, Dart calls Native’s photo album to select pictures, Dart calls Native’s module to perform some complex calculations, and Native transfers some Data (GPS information, gyroscopes, sensors, etc.) are actively passed to Dart and […]

Flutter and Android communication development

When doing Flutter development, communication between Flutter and Native is usually inseparable. For example: when initializing Flutter, Native transfers data to Dart, Dart calls Native’s photo album to select pictures, Dart calls Native’s module to perform some complex calculations, and Native transfers some Data (GPS information, gyroscopes, sensors, etc.) are actively passed to Dart and […]