More than 150 Flutter components give you details

What is lost is lost is not doing great things, little things do not want to do, do not deserve the ability to desire, talent good enough for dreams.

150 + Flutter assembly details Address: http://laomengit.com/

Foreword

I have not officially released before Flutter began to learn, because the Fuchsiasystem, with the development of 5G, things will usher in the explosive growth, not a system of things dominate the current market, though Google does not said Fuchsiais born of things, but you understand the Fuchsianature of the system you will understand this system is ideal for networking, so the development prospects Flutter limitless.

In the process of learning Flutter, the Chinese very little information, relatively obscure official document, and no correlation demo, this is the birth of the original intention of this site, hoping to help the majority of Flutter beginners, there is no advanced technology, there are only basic usage of one control.

Has now compiled a 150+ components, and the components placed close together, such as Button components, the system provides 10 kinds of Button class components, although the index is in alphabetical order, but whether you behold a Button, both We can see other related usage of Button.

Widget Flutter official offer more than 300 personal energy is limited, if you also want to help other people, welcome to submit, at the bottom will show and author of the blog address.

Welcome to join Flutter exchange group (micro letter: laomengit) or scanned under the Fanger Wei code:

I also welcome attention of the public Laomeng number [programmers], articles and related resources (as well as being prepared to control a large number of PDF-related demo) will be starting in a public number, scan concern:

future plan

  1. Mobile end of this site has been developed, when you can learn the knowledge from the phone.
  2. While Flutter is a UI framework, but UI is not merely constitute a complete App, so the next focus is to introduce functional technology, such as network load data, save data, mixed development.
  3. Development of small demo, I also wrote a large and comprehensive project or thinking for a long time on a small but excellent project, and finally I chose the small but excellent project, because small projects so that we can more quickly to focus attention for study, relatively large projects are more difficult to start.

Flutter Board not meeting fire?

I received a lot about whether or not to learn Flutter? Flutter will not fire problem? To tell the truth I do not know anything of the development and expansion of the favorable factors are indispensable, the advantages of the technology itself is just a basic, I can only say that the probability of relatively large Flutter just like you and Ma son who more want to be a billionaire, I can only say that the development prospects Flutter limitless.

In fact, a lot of things to learn, as quickly as possible into the pit to learn, hands-on than the timid, the progress of the stage stays understand much better, this is a very simple truth, but happens a lot of people do not understand or can not do. If you can do this, I have to say this is an advantage.

Flutter usage

I know you must be very concerned about the current situation of each company to use Flutter, in particular, the head of Internet companies, according to the message I get (of course, I was also the head of Internet companies) are currently the major Internet company's head App basic little use, why? the reason is simple,

  1. Flutter from the official release has only 2 years, how in the end who did not mind the end, can not withstand the test of the market is unknown.
  2. Flutter current high volume package, the head of the App package size requirements are very strict, are in KB, and even an empty Flutter projects are several "MB".

Although the head App uses very little, but in internal projects or sub-projects to try Flutter.

Small companies and individual developers currently using the Flutter technique very much, not entered into cross-platform development people never find convenient cross-platform development, cross-platform development is very difficult to develop a returning native, unless you are in order handout.

Remember that historical trend is cross-platform development, from the original H5 to React Native, now in the Flutter, it is to solve cross-platform development and improve development efficiency, the wheel of history will not stop, if not Flutter, there will be another a Flutter.

About Flutter version

Flutter fast pace of development than you can imagine, at the time of check information note version, the old version in the new version may have been abandoned, especially in the mixed development. Therefore, all articles of this site if no special instructions, Flutter version and Dart versions are as follows:

  • Flutter Version: 1.12.13 + hotfix.5
  • Dart Version: 2.7.0

How to learn Flutter

Although the site finishing basic usage controls 150 +, will also continue to improve, but not let you learn each one again, any technique basically mastered 20% to 80% can solve problems, so I compiled some common controls, just learn the basic controls of the project can get started, the other controls just about look, do the project when it came to some of the features can think of Flutter has provided this component on it.

About Dart language, if you have the basis for other high-level languages, such as Java, you can not specifically to learn Dart basis, but with someone else's code knock, he will soon be mastered.

Learning also recently finishing Flutter of mind mapping, and other finishing good to others.

Recommended development environment

As the saying goes, "Preparation may quicken the workers", a good IDE can greatly improve development efficiency, personal recommend the use mac (system) + Android Studio. For the following reasons:

  • Since the use of the Flutter, then the development of the project should end mobile App, packed Flutter final application is still native.
  • Flutter on Android when debugging problems encountered by the various compilers do not, these require some basic knowledge of Gradle, it is recommended to use Android Studio, understand the basic compilation process.
  • Android build, but generally gradle version, support issues and androidx version of Android Studio on these issues better resolved.

Usually when debugging can use Android Studio + IOS simulator for debugging.

Installed in accordance with the best development environment Flutter official website of the steps, the online presentation is likely the older version.

The use of third-party libraries

In the learning phase suggest that you use less third-party libraries, especially some UI library, state management and routing management of libraries, these libraries are not saying here is not good, these libraries good, is the crystallization of the wisdom of Daniel, if you do not after the development of native, do not understand the development of pain points, you can never understand the benefits of these libraries give you, and if these libraries have been maintaining that it was okay, once unmaintained, to solve a problem that may be more trouble.

That is not all third-party libraries do not have it? Is not absolute, such as network requests library dio, strictly speaking, this is not a Flutter library, but Dart library, this library has been very stable. There are a lot of native involve the development of libraries, native development is not the focus of your attention, these libraries can be used, but to understand the communication mechanism Flutter with native development.

Tucao about

Do not write Flutter UI and others say too bad maintenance, and why? Because nested ah, I wanted to ask you what you would usually write a function 1000 all right? You do not write code package it? The usual modularization are gone? Regardless of H5, or Android, UI development of IOS which is not a "tree" structure.

Guess you like

Origin www.cnblogs.com/mengqd/p/12555078.html