Why Flutter

At the beginning of July 19, I needed a person to complete an O2O system of flowers. Includes front end, back end, mobile end and small program. Considering the time cost, cross-platform technologies are mainly considered in the selection of mobile development platforms. I chose Flutter without hesitation, and also considered React Native and Uni-app. The reason why I chose Flutter was because of Google’s endorsement and the experience of The Idler App, and the development tools and logic were closer to that of native App development.

Introduction to Flutter of

Let’s start with the necessary overhead. I was watching cross-platform development back in ’17, so I bought a Macbook Pro, which I still use today, but the 256GB hard drive is a little tight. An Apple developer account costs $99 per year. Nothing else.

For example, I used to be an Android developer. I spent about a week looking at the basic tutorials on the Internet and installed the development environment before I started to do the project. At that time, the time was also relatively tight, so I learned while doing. It feels like Android development or iOS development overtakes flutter should be quick. The front end is a little harder to develop, but that’s ok because Dart styles a lot like CSS and Html, and many of the attribute names are the same.

The challenge for front-end developers is the basic configuration on Android and iOS. Although Flutter is a cross-platform language, it ultimately needs to be packaged into a separate installation package on both sides, so there are steps like configuring the project on Android Studio and Xcode, as well as configuring various permissions, which require some native knowledge. All of these are fine if you take a little time to learn them.

What can Flutter do

We all know that developing an App is not all about typing code to complete all the functions. Many functions need to be done with mature third-party components. Not to be lazy, but because it’s relatively efficient and stable. So, one of the key factors in evaluating a development language is how many libraries are available and how mature the language is

As far as I’m concerned, most commonly used third-party components are stable, 1, payment (wechat, Alipay, Apple) 2, share (wechat, QQ, weibo) 3, push (Android manufacturers, Apple push) 4, audio and video (live, chat) 5, instant messaging 6, login (wechat, Apple, mobile phone one-click login) 7, map (Baidu, Autone) 8, statistics The components of the basic functions (photography, network requests, pictures, audio and video, playback, data storage, etc.) are basically fine, so I won’t list them. So, from my experience so far, the vast majority of App development needs can be developed with pure Flutter, without having to write native code.

The Flutter uses the pit currently encountered

It’s all worked out, but it took a while. Not really a pit, but I spent some time, write out the summary, if other apes encounter, can refer to less detours

1, Wechat web page to open the App (through wechat tag technology – can directly open the App without through the mobile browser). The problem has been solved. 2. Push: Android doesn’t receive notifications in push. The solution has been resolved. You need to access the vendor. Or find a good (free) third push SDK. MobPush is currently used. 3. Some iOS devices cannot log in to wechat. The Universal Link or Xcode configuration problem has been solved. This should not have been a problem with the Flutter. It was due to the fact that the iOS configuration was unfamiliar at the time. The extended_nested_scroll_view component comes from the definition of scrolling Some problems with the component can be solved with the Extended_Nested_scroll_View component (my favorite component of the year, extended_nested_scroll_view). Mainly to find the problem targeted optimization.

How to launch the Flutter development App

It’s basically the same as a native App. It’s packaged into two packages anyway. Android according to the requirements of the application market to apply for soft, good Apk on the line. App Store must have a developer account, configure good permissions and permissions, do not get useless permissions, basically the first review, after the review according to the specifications can be quickly reviewed.

Instead, there are more and more requirements in the Domestic Android application market. Recently, the App privacy issue has become a hot topic, the App shelf needs to do Icp record.

In the future

Flutter has a special meaning to me compared to other development platforms. Because it allowed me to quickly get back to a proper development job after being out of development for more than 2 years. I’ve also seen it go from being questioned to being used by more and more companies. So, as a 30+ ape, I hope to go a little further with the Flutter

In fact, learning a new language is not very expensive these days. Today’s development languages are syntactically similar, so you don’t have to think about which language or platform to use, but what technology is right for you. If you want to go further in mobile development, why not try cross-platform? Maybe the big front will be the trend?