flutter / flutter
Flutter / Flutter
Flutter is Google’s SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source. Flutter 是 Google 推出的 SDK,旨在通过单一代码库为移动端、Web 端和桌面端打造美观、快速的用户体验。Flutter 可与现有代码协同工作,被全球各地的开发者和组织广泛使用,且完全免费开源。
Documentation Install Flutter Flutter documentation Development wiki Contributing to Flutter For release and other announcements, join the flutter-announce mailing list. Our documentation also tracks breaking changes across releases. 文档、安装 Flutter、Flutter 文档、开发维基、为 Flutter 做贡献。如需获取发布及其他公告,请加入 flutter-announce 邮件列表。我们的文档还会跟踪各版本间的重大变更。
Terms of service The Flutter tool may occasionally download resources from Google servers. By downloading or using the Flutter SDK, you agree to the Google Terms of Service: https://policies.google.com/terms For example, when installed from GitHub (as opposed to from a prepackaged archive), the Flutter tool will download the Dart SDK from Google servers immediately when first run, as it is used to execute the flutter tool itself. This will also occur when Flutter is upgraded (e.g. by running the flutter upgrade command). 服务条款:Flutter 工具偶尔会从 Google 服务器下载资源。下载或使用 Flutter SDK 即表示您同意 Google 服务条款:https://policies.google.com/terms。例如,当从 GitHub 安装(而非使用预打包的压缩包)时,Flutter 工具在首次运行时会立即从 Google 服务器下载 Dart SDK,因为它被用于执行 flutter 工具本身。当升级 Flutter 时(例如运行 flutter upgrade 命令),也会发生这种情况。
About Flutter We think Flutter will help you create beautiful, fast apps, with a productive, extensible and open development model, whether you’re targeting iOS or Android, web, Windows, macOS, Linux or embedding it as the UI toolkit for a platform of your choice. 关于 Flutter:我们认为 Flutter 将帮助您创建美观、快速的应用程序,并提供高效、可扩展且开放的开发模式,无论您的目标平台是 iOS、Android、Web、Windows、macOS、Linux,还是将其作为您所选平台的 UI 工具包进行嵌入。
Beautiful user experiences We want to enable designers to deliver their full creative vision without being forced to water it down due to limitations of the underlying framework. Flutter’s layered architecture gives you control over every pixel on the screen and its powerful compositing capabilities let you overlay and animate graphics, video, text, and controls without limitation. Flutter includes a full set of widgets that deliver pixel-perfect experiences whether you’re building for iOS (Cupertino) or other platforms (Material), along with support for customizing or creating entirely new visual components. 美观的用户体验:我们希望让设计师能够充分实现其创意愿景,而不会因底层框架的限制而被迫妥协。Flutter 的分层架构让您可以控制屏幕上的每一个像素,其强大的合成能力使您可以不受限制地叠加和制作图形、视频、文本及控件的动画。Flutter 包含一套完整的组件,无论您是为 iOS(Cupertino)还是其他平台(Material)构建应用,都能提供像素级的完美体验,同时还支持自定义或创建全新的视觉组件。
Fast results Flutter is fast. It’s powered by hardware-accelerated 2D graphics libraries like Skia (which underpins Chrome and Android) and Impeller. We architected Flutter to support glitch-free, jank-free graphics at the native speed of your device. Flutter code is powered by the world-class Dart programming language, which enables compilation to 32-bit and 64-bit ARM machine code for iOS and Android, JavaScript and WebAssembly for the web, as well as Intel x64 and ARM for desktop devices. 快速的结果:Flutter 速度极快。它由硬件加速的 2D 图形库驱动,如 Skia(Chrome 和 Android 的底层支撑)和 Impeller。我们构建 Flutter 的架构旨在以设备的本机速度支持无故障、无卡顿的图形渲染。Flutter 代码由世界级的 Dart 编程语言驱动,该语言支持将代码编译为 iOS 和 Android 的 32 位及 64 位 ARM 机器码、Web 的 JavaScript 和 WebAssembly,以及桌面设备的 Intel x64 和 ARM 代码。
Productive development Flutter offers stateful hot reload, allowing you to make changes to your code and see the results instantly without restarting your app or losing its state. 高效的开发:Flutter 提供有状态的热重载(Stateful Hot Reload),允许您在不重启应用或丢失应用状态的情况下,修改代码并立即查看结果。
Extensible and open model Flutter works with any development tool (or none at all), and also includes editor plug-ins for both Visual Studio Code and IntelliJ / Android Studio. Flutter provides tens of thousands of packages to speed your development, regardless of your target platform. And accessing other native code is easy, with support for both FFI (on Android, on iOS, on macOS, and on Windows) as well as platform-specific APIs. Flutter is a fully open-source project, and we welcome contributions. Information on how to get started can be found in our contributor guide. 可扩展且开放的模式:Flutter 可与任何开发工具配合使用(或者完全不用),并包含适用于 Visual Studio Code 和 IntelliJ / Android Studio 的编辑器插件。无论您的目标平台是什么,Flutter 都提供数以万计的软件包来加速您的开发。此外,访问其他原生代码也非常容易,支持 FFI(在 Android、iOS、macOS 和 Windows 上)以及特定平台的 API。Flutter 是一个完全开源的项目,我们欢迎各界贡献。有关如何开始的信息,请参阅我们的贡献者指南。