flutter - 我在 Flutter SDK 中使用哪个 channel ?

标签 flutter dart sdk flutter-dependencies flutter-channel

在 " Announcing Flutter Release Preview 1 – Flutter – Medium "

在文档中下载 Flutter SDK 的最新 beta 版本。 Get Started: Install on macOS - Flutter

最新的 beta 版本是 0.5.1。 2个月前更新了……

$ flutter upgrade

Flutter 0.5.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision c7ea3ca377 (9 weeks ago) • 2018-05-29 21:07:33 +0200
Engine • revision 1ed25ca7b7
Tools • Dart 2.0.0-dev.58.0.flutter-f981f09760

最新的主版本是 0.5.8-pre.163。

$ flutter channel master
$ flutter upgrade

Flutter 0.5.8-pre.163 • channel master • https://github.com/flutter/flutter.git
Framework • revision 29410abbe7 (2 days ago) • 2018-07-27 22:10:39 -0700
Engine • revision 72a38a6b13
Tools • Dart 2.0.0-dev.69.3.flutter-937ee2e8ca

我在 Flutter SDK 中使用哪个 channel ?

最佳答案

来自 Flutter wiki :

Flutter has the following channels, in increasing order of stability:

master

The current tip-of-tree, absolute latest cutting edge build. Usually functional, though sometimes we accidentally break things.

dev (The dev channel was retired as of Flutter 2.8)

The latest fully-tested build. Usually functional, but see Bad Builds for a list of known "bad" dev builds. We continually try to roll master to dev. Doing so involves running many more tests than those that we run during master development, which is why this is not actually the same to master.

beta

Every month, we pick the "best" dev build of the previous month or so, and promote it to beta. These builds have been tested with our codelabs.

stable

When we believe we have a particularly good build, we promote it to the stable channel. We intend to do this more or less every quarter, but this may vary. We recommend that you use this channel for all production app releases. We may ship hotfixes to the stable channel for high-priority bugs, although our intent is to do this rarely.

因此,请使用您觉得舒服、满足您的需求和/或在其中包含您需要的任何修复程序的任何 channel 。从 stable 开始,然后从那里开始。

关于flutter - 我在 Flutter SDK 中使用哪个 channel ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51586259/

相关文章:

flutter - 如何在不更新 Flutter 的情况下在 ubuntu 中更新 Dart SDK?

flutter - 为 Row 中的所有 child 设置相同的大小

flutter - 如何将列表的元素转换为单个数字

sqlite - flutter : Difference between Moor and floor ORMs

Android Studio SDK 位置

c# - 是否有适用于 .NET 的 Open Office 或 Libre Office SDK?

json - 具有未知 key 的 JSON 序列化

dart - Dart 中的函数字段返回类型

dart - 限制选中复选框的数量

android - 找不到 android sdk 构建工具