Flutter 实践教程

Flutter 实践教程,帮助你完成相对较为完整的 Flutter 小应用。

The Flutter tutorials teach you how to use the Flutter framework to build mobile applications for iOS and Android.

你可以选择以下教程:

Choose from the following:

  • Flutter 布局构建教程
    使用 Flutter 构建基础的布局,领会基本布局机制。你可以通过截图示例构建应用的布局结构。

    Building layouts
    How to build layouts using Flutter’s layout mechanism. Once you’ve learned basic principles, you’ll build the layout for a sample screenshot.

  • 为你的 Flutter 应用加入交互体验
    你将为上一个教程中构建的应用加入新的功能,让一个图标变得可点击。也包含有 widgets state 管理的不同方式。

    Adding interactivity to your Flutter app
    You’ll extend the simple layout app created in “Building Layouts in Flutter” to make an icon tappable. Different ways of managing a widget’s state are also discussed.

  • 在 Flutter 应用里实现动画效果
    了解和使用 Flutter 动画的基础类 (controllers, Animatable, curves, listeners, builders),通过几个不同角度帮助你了解 Flutter 的动画 API。

    Animations in Flutter
    Explains the fundamental classes in the Flutter animation package (controllers, Animatable, curves, listeners, builders), as it guides you through a progression of tween animations using different aspects of the animation APIs.

  • Flutter 应用里的国际化
    了解 Flutter 应用里的国际化,依照用户自己的语言和格式约定显示内容。

    Internationalizing Flutter apps
    Learn how to internationalize your Flutter application. A guide through the widgets and classes that enable apps to display their content using the user’s language and formatting conventions.