Fluent - dart event loop mechanism and asynchronous

Welcome to WeChat official account: FSA full stack operation 👋 1, Dart asynchronous Like JavaScript, Dart is a single thread model based on event loop mechanism, so there is no multithreading in Dart, so there is no distinction between main thread and sub thread 1. Synchronous and asynchronous Synchronization: in the same thread, execute ...

Posted by zeth369 on Tue, 08 Mar 2022 12:24:36 +0100

Fluent design pattern factory pattern family

Wen / Yang Jiakang, member of CFUG community, author of "the development journey of fluent from south to North", engineer of XiaomiIn the topics around design patterns, the word factory appears frequently, from simple factory pattern to factory method pattern, and then to abstract factory pattern. The meaning of factory name is the in ...

Posted by EGNJohn on Tue, 08 Mar 2022 08:45:56 +0100

Initial exploration of Kraken, developing Kraken application with Vue

I've heard that Ali department is developing wheels and preparing to integrate Flutter to reduce the threshold of using Flutter. Now Kraken (Beihai) has been officially released. Officials say it has been put into use in many projects, but there are still many pits on github. If you are longing for Flutter but haven't been introduced for variou ...

Posted by cmccomas on Wed, 02 Mar 2022 00:41:41 +0100

Alibaba vendor fluent for Web Engineering Practice

Author: Ma Kunle (Kunwu)Since its debut in 2015, after years of development, fluent has become quite mature and has been widely used in Internet companies such as Alibaba, meituan and pinduoduo. In the ICBU Ali seller, 90 +% of the new businesses are developed with Flutter, and the ICBU client development group has a large number of Flutter dev ...

Posted by nominator on Fri, 25 Feb 2022 08:06:18 +0100

"In depth communication" series: implementation of Okhttp interceptor

Okhttp interceptor details Okhttp interceptor introduction Concept: interceptor is a powerful mechanism provided in Okhttp. It can realize network monitoring, request and response rewriting, request failure retry and other functions. Let's first understand the system interceptor in Okhttp: RetryAndFollowUpInterceptor: it is responsible for i ...

Posted by phillips321 on Thu, 24 Feb 2022 13:32:13 +0100

Flutter Favorite's routing packet beamer

Quick start The simplest use is to use RoutesLocationBuilder, which produces the least code. It is a great choice for applications with few navigation scenes or applications with shallow page stacks (that is, pages are rarely stacked together). class MyApp extends StatelessWidget { final routerDelegate = BeamerDelegate( locationBuilder: ...

Posted by Slippy on Thu, 24 Feb 2022 09:26:37 +0100

Fluent bloc user login

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-xsljaswk-1620260140025)( https://ducafecat.tech/2021/05/06/translation/mastering-flutter-bloc-pattern-for-login-part-1/2021-05-06-08-01-18.png )] original text https://medium.c ...

Posted by silrayn on Sat, 19 Feb 2022 20:07:04 +0100

Shuttle: IOS sideslip return

Write in front In fluent, the default is to support the sideslip return of the screen edge of iOS. However, if we rewrite the onWillPop callback of WillPopScope due to some requirements, this feature will become invalid. content In general, we do not add WillPopScope to the page and rewrite its onWillPop method. On iOS, we can sideslip b ...

Posted by KC_Geek on Sun, 13 Feb 2022 15:11:31 +0100

Android Development: realize sliding exit Fragment + Activity two in one

prefaceCan you add a sideslip return when the sideslip menu is not included, and finish the current Fragment?Today, we have completed this work and made it into a separate SwipeBackFragment library and fragment SwipeBack extension librarycharacteristic: 1. Swipebackfragment, swipebackactivity two in one: when the number of fragments in the Act ...

Posted by sean14592 on Sat, 12 Feb 2022 03:31:36 +0100

Analysis on the process of pulling up the soft keyboard in Android WebView

preface This article is flutter_ hybird_ Practice and technology sharing of WebView cross process rendering One of the research notes in the development process. If there are errors, please point them out. Source code analysis First, let's take a general look at the inheritance structure of webview: public class WebView extends MockView { ...

Posted by hubardz on Thu, 10 Feb 2022 15:07:21 +0100