flutter-intro

What is Flutter

One set of code (lib), multi platforms.

android, windows, linux, ios, etc.

  • It’s for client apps
  • Platform regardless
  • Easy to hand on, easy to develop

dart=js/cpp+java: code taste + dart vm

Basic code format

tldr

  • Empty safety: type? means var is nullable

This will trigger empty check, avoid npe

  • late init

Just like Kotlin

  • Async

Basic layouts

  • Widget
  • Text
  • Warp
  • Row-Column
  • Container

Basic scaffolds

  • AppBar
  • Action
  • TItle
  • TabBar
  • Body
  • BottomBar

Network

Mainly using Dio

作者

xeonds

发布于

2023-09-16

更新于

2023-11-22

许可协议

评论