explaingit

flutterchina/flutter-in-action

8,620JavaScriptAudience · developerComplexity · 1/5Setup · easy

TLDR

Flutter in Action is a free open-source Chinese-language e-book teaching Flutter cross-platform app development, this repo holds the first-edition Markdown source and is no longer maintained.

Mindmap

mindmap
  root((flutter-in-action))
    What it is
      Chinese e-book
      First edition
      Open source
    Content
      Flutter basics
      Widget system
      State management
      Network and navigation
    Tech
      Markdown source
      Gitbook build
      Yarn scripts
    Status
      First edition archived
      Second edition elsewhere
      Contributions welcome
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Read a comprehensive Chinese-language introduction to Flutter and learn how to build your first cross-platform mobile app.

USE CASE 2

Contribute typo fixes or corrections to the first-edition Flutter book by editing the Markdown source files and submitting a pull request.

USE CASE 3

Run the book locally as a development server using Gitbook and Yarn to read or review it offline.

USE CASE 4

Use the companion source code repository to run the example apps shown in each chapter.

Tech stack

MarkdownGitbookFlutterDart

Getting it running

Difficulty · easy Time to first run · 5min

In plain English

Flutter in Action is an open-source Chinese-language book about Flutter, Google's cross-platform toolkit for building mobile, web, and desktop applications from a single codebase. The first edition is freely available to read on a website and was also published as a physical book in China. This repository holds the Markdown source files for the first edition, compiled into a browsable website using Gitbook. The book is aimed at Chinese-speaking developers learning Flutter and its companion language Dart. It covers the fundamentals of Flutter's approach to building user interfaces through a widget tree, how data and state flow through an application, how to handle network requests, navigation between screens, animations, and other common tasks that arise when building a complete app. This repository is no longer actively maintained. The author's note explains that the second edition has been moved to a separate repository, and new readers should go there for updated content. Flutter and the Dart language evolve quickly, which is the primary reason a second edition was needed. For those running the book locally, the project requires Node.js and uses Yarn to start a development preview server or produce a build. Source documents are Markdown files organized into chapter folders under the src directory. Image files are kept under an imgs folder and contributed images must stay under 300KB. Contributions to the first edition such as typo fixes or additions to unfinished sections were accepted through pull requests. The project is free to read online. The README notes that the author welcomes corrections and reader contributions as a form of giving back to the project.

Copy-paste prompts

Prompt 1
I'm learning Flutter from the Flutter in Action book and want to understand the widget tree. Can you explain how StatefulWidget and StatelessWidget differ and when to use each?
Prompt 2
I'm following the Flutter in Action examples and want to make a network request in Flutter. Show me how to set it up and handle loading and error states.
Prompt 3
I want to contribute a typo fix to the flutter-in-action first-edition repo. Walk me through editing the Markdown file under src/ and submitting a pull request.
Prompt 4
How do I set up the flutter-in-action repo locally? Walk me through installing Node.js and running yarn dev to get the Gitbook preview server running.
Open on GitHub → Explain another repo

← flutterchina on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.