Please enable JavaScript.
Coggle requires JavaScript to display documents.
FLUTTER, Tutorial, Read, Common Error, Features, Improve, Animaiton,…
FLUTTER
Framework
Dart - Why flutter use Dart ?
- Just In Time (JIT) compilation:
- Recompile code directly on the device while app is running -> Fast development (hot reload, restart)
- Ahead Of Time (AOT) compilation:
- The code in app is compiled directly to native ARM code -> fast startup, predictable performance
-
-
-
-
-
-
State Management
-
Redux : Single state, all data will store in 1 object, all widget will ref to that object
-
-
Tutorial
-
-
-
-
Flutter từ cơ bản đến nâng cao : Link
-
-
-
-
-
-
-
-
-
-
-
-
Read
-
-
-
-
-
Overview
- All Related problem when developing with Flutter
- Platform behaviours
- Listing tutorial
-
-
-
-
Common Error
-
Sử dụng SingleChild... trong Column
Column -> SingleChildScrollView : Bị lỗi overflow bottom
-> Solution : Wrap SingleChilScrollView = Expanded
Build 2 panels : Panel right fixed
- Description : Cần build 1 page (Có header + footer scrollable, ko bị fix trên trang) + Cần right panel fix ngay trên trang.
- Solution : Check lại trang product_detail của skyx
Position widget inside SingleChilScrollView
Flutter Web Hot Restart Hang
-
Auto open dialog base on condition in stateless
-
Listview inside Column :
- Wrap Listview với expanded vs flexible
- Wrap Listview với 1 constraint box (container, sizebox with specified size)
Features
Navigation
-
Use case
- Work on mobile. Event Android with back button on physical screen
- Work on web. With User edit url + user use button of browser (Back, forward, refresh)
- Refresh when pop
- User can click on url and navigate to the correct page
- User can enter url and navigate to the correct page
- User can refresh a page
-
-
-
Solution
Problem
Test OG Tag Sharing Local
URL của Flutter có dấu # -> Ko map được url của server generate OG tags vs flutter routing
Solution
- Work Around : Use package -> Remove được # nhưng các tính năng về edit url sẽ ko thực hiện đc và vẫn ko map được với url của server
A server act as middleware between user and application
- Detect if bot or user send request
- Call API get data from database
- Edit index.html
- Return new complied/built html file to end user (build web)
-
WebRTC
How it work?
- 2 devices discovery and negotiation via : Signaling Process
-
-
Video Player
- Self write controller : Link
- Package
Notification
- Push notification: Trigger from a remote server
- Local notification: From app itself
-
-
-
-
-