Example analysis of Flutter 2.0 routing at the 18th bend of mountain road

preface Last Flutter 2.0's routing confused me The routing of fluent 2.0 is introduced. After reading the introduction, it is basically in the clouds. After tossing around for a day, I finally got a complete example. In a word, it is summarized as: Eighteen turns of mountain road! Note that this article is long and time-consuming to read (it ...

Posted on Fri, 03 Dec 2021 09:06:10 -0500 by smclay

How to Secure Device Access to AWS IoT

Imagine a scenario where you can fake as many WiFi hotspots as you want and then wander through the crowd. When people around you search for WiFi hotspots, the screen is full of your fake WiFi hotspots, like this: (In the picture above,'1. This advertising space rental','2. Silly upstairs','3. The three hotspots of marrying a programmer'were ...

Posted on Wed, 01 Dec 2021 19:06:17 -0500 by junrey

Flutter realizes the transmission and analysis of routing parameters

Last Implementation of fluent page routing and 404 route interception This paper introduces the use of routing to realize page Jump, so as to simplify the coupling between pages and realize route interception. In actual development, we often need to carry routing parameters when the page jumps. A typical example is when we go from the list to t ...

Posted on Tue, 30 Nov 2021 17:22:32 -0500 by jminscoe

Fluent uses custom fluro routing transition animation to realize personalized page switching

fluro transition animation source code Before using custom transition animation, first pick the source code of fluro. Through the source code, you can find such a standard transition method: RouteTransitionsBuilder _standardTransitionsBuilder( TransitionType? transitionType) { return (BuildContext context, Animation<double> an ...

Posted on Tue, 30 Nov 2021 15:30:53 -0500 by soulmasta

Get geographic location in fluent [fluent topic 61]

Hello, everyone. I am nuts. The official account is "nuts front end". Get geographic location in fluent Today, discovering user locations is a very common and powerful use case for mobile applications. If you've ever tried to implement location in Android, you'll know how complex and confusing the sample code can become. But this ...

Posted on Sat, 27 Nov 2021 22:06:36 -0500 by wobbit

Deep optimization of taote fluent streaming scene

Author: Jiang Zejun (true meaning)Taote uses Flutter in many business scenarios. In addition, the business scenario itself has a certain complexity, which makes it obvious that Flutter uses native (Android/iOS) development in the sliding browsing process of low-end streaming scenarios. By analyzing the performance problems of the business layer ...

Posted on Fri, 26 Nov 2021 10:41:25 -0500 by NoSalt

No one uses collections better than I do! Yes, it's a collection in dart

brief introductionThere are three sets in dart: list, set and map. Dart provides very useful methods for these three collections in the dart:core package. Let's take a look.Use of ListFirst, create a list. You can create an empty list or a list with values:var emptyList =[]; var nameList = ['jack','mac']; Use the constructor of List to create: ...

Posted on Thu, 25 Nov 2021 21:14:24 -0500 by misschristina95

Do you understand assembly? Yes, it's a collection in dart

brief introduction There are three sets in dart: list, set and map. Dart provides very useful methods for these three collections in the dart:core package. Let's take a look. Use of List First, create a list. You can create an empty list or a list with values: var emptyList =[]; var nameList = ['jack','mac']; Use the constructor of ...

Posted on Wed, 24 Nov 2021 18:28:17 -0500 by promixe

Dart series: using numbers and strings in dart

brief introduction The easiest way to become familiar with a language is to become familiar with the various core libraries provided by dart. Dart provides us with several common libraries, including dart:core,dart:async,dart:math,dart:convert,dart:html and dart:io. Today, let's introduce the use of numbers and strings in dart:core. number Dar ...

Posted on Tue, 23 Nov 2021 21:01:16 -0500 by cornix

[fluent core class analysis] deeply understand RenderObject

background Widget, Element and RenderObject are three core members of the fluent framework. Let's learn RenderObject together in this article. Macroscopically speaking, a RenderObject is an object in the RenderObject Tree, one of the three trees we mentioned earlier. Its responsibilities mainly include three: layout, rendering and hit tes ...

Posted on Mon, 22 Nov 2021 20:36:28 -0500 by windyweather