跳到主要内容
学院
初级 代码街区

Flutter 与 Dart

一套代码,同时覆盖 iOS 和 Android。

Flutter is Google's toolkit for building apps from one codebase, and Dart is the language you write them in. This track starts from zero: Dart's essentials with null safety, then widgets, layouts, themes and state, then a real app that loads JSON from the internet and moves between screens.

The examples come from a small social app called Nova: a points badge, a post card, a like button and a leaderboard. Every Dart program shows exactly what it prints, so you always know what to expect.

课时
16
时长
2 小时
级别
初级

本课程的内容目前为英文。

  • 铜牌 可挑战
  • 银牌 可挑战
  • 金牌 未解锁

准备好证明自己了吗?

三场考试正等着你:铜牌、银牌和金牌。

前往考试

学完后你将能够

  • Write and run Dart programs with null safety, functions, collections and classes
  • Build screens from widgets: rows, columns, cards and scrolling lists
  • Make widgets interactive with StatefulWidget and setState
  • Theme an app with Material 3 and lay it out right to left for Persian
  • Load JSON from the internet and show loading, error and data states
  • Move between screens and share state the simplest way that works

学习旅程

  1. 1
    第 1 单元

    Dart in an afternoon

    Variables, null safety, functions, collections, classes and records: the Dart every Flutter app is written in.

    0 / 5
  2. 2
    第 2 单元

    Widgets

    Build screens from widgets, theme them, lay them out right to left and give them state.

    0 / 4
  3. 3
    第 3 单元

    A real app

    Load JSON from the internet, move between screens and share state the simple way.

    0 / 3
  4. 4
    第 4 单元

    The road ahead

    Where to go after this course: routing, state packages, testing and publishing.

    0 / 4

快速导航