Introduction: FlutterUnit family photo

Thanks for following the development of FlutterUnit ~ github address: Star

Platform type Download address Project Branch Address Related articles
The Android Toly1994.com/file/Flutte… flutter_unit FlutterUnit Guidelines
The iOS version Not provided yet, you can download the project to run flutter_unit FlutterUnit Guidelines
MacOS version Toly1994.com/file/flutte… flutter_unit_mac Debut for MAC
The Windows version Toly1994.com/file/Flutte… flutter_unit_windows Debut of Win Edition
The Web version toly1994328.gitee.io/flutter_web flutter_unit_web Debut of the Web edition

A,Summary of FlutterEating guide

After more than 5 months of continuous updates, FlutterUnit roughly supports 5 terminals, and includes components from 180+ to 260+ now

Now we have entered the next stage of FlutterUnit, Flutter Summary, which can be opened by: Temporarily placed in the left slider (left swipe or long press the button in the lower left corner of the main page to open Flutter Summary –>Flutter Summary –> Summary

The left slider opens Home page slide Details page
1. Summary of the main points of Flutter

The Summary of Flutter Tips is a collection of common Flutter bug solutions, important points, and tips

Everyone can participate, submit your point, and be included in the FlutterUnit, what are you waiting for 😉.

Key points collection interface Key points collection interface Details page
Details page Details page Details page

2. Data sources for Flutter points

As you may have seen, the root cause is FlutterUnit’s issue on Github. You are also welcome to leave your point

I created a label for points, and the points that can be included will be marked on it. The address of the page can be seen here

You think I access the data through Github API, you think you are at layer 2, in fact, I use Github API at layer 5 😎 there are some problems:

  • Github API will limit traffic for the same IP address. You can add token to solve the problem, but it is troublesome
  • The Github API is slow and, possibly for network reasons, impossible to access.

3. Solve data problems
  • [1] Set up background and store demand data

Create conditions when there are no conditions. So I used SpringBoot to build a flutter_unit_server backend

Flutter_unit_server will also be open source as it gets better, and FlutterUnit data is expected to move online


  • [2] Automatic data collection using flutter_unit_tool project

I’m actually more proud of Flutter_unit_tool than FlutterUnit

Flutter_unit_tool is a data collection tool tailor-made for FlutterUnit. For example, adding components or modifying a few words of a copy requires updating the database. Flutter_unit_tool parses all component files, extracts their information and synchronizes it to the database. It provides a strong backing for FlutterUnit maintenance.

The data idea of the gist collection is: local request GitHub Api, get the data, upload it to my server, provide interface access.


Second,Summary of Flutter essentials - An introduction to implementation

1. Interface

In the views. Pages. Issues_point package

Dart FlutterUnit in the header of the issue_item.dart Item component of the issues_detail.dart Detail pageCopy the code


2. Data logic

The temporary network request is simpler here. All online data will be optimized later.

Issues_api.dart Network request, get data, convert it to entity object blocs.point.* Highlights issue Request Logical state mapper blocs.point_comment.* Highlights issue Comment request logical state mapperCopy the code


3. Entity class corresponding to the data

Put the entity classes corresponding to the data in Model.github


Iii. Update points of FlutterUnit

1. Webp is used to reduce installation package files by 10%.


2. Update components
NotificationListener PageStorage CupertinoSlidingSegmentedControl
WidgetInspector WidgetsApp AnimatedTheme
AnimatedPhysicalModel Directionality PhysicalModel

Thank you for following the development of FlutterUnit

Summary of Flutter, please leave your name 😁

End 2020-09-04 @ Zhang Fengjie not allowed to transfer