flutter-desktop-embedding

Desktop implementations of the Flutter embedding API

Github星跟踪图

Desktop Embedding for Flutter

This project was originally created to develop Windows, macOS, and Linux
embeddings of Flutter. That work has
since become part of
Flutter
; what
is left here are the parts that have not yet stabilized enough to merge
into the Flutter project, including:

  • Preliminary runners for Windows and Linux (via the example).
  • Experimental, early-stage desktop plugins.
  • A starting point and preliminary instructions for
    using and/or writing plugins on Windows and Linux.

The code here is not stable, nor intended for production use.

Setting Up

This project is closely tied to changes in the Flutter repository, so
you must be on the latest version of the Flutter master
channel
.
You should always update this repository and Flutter at the same time,
as breaking changes for desktop happen frequently.

Tools

First you will need to enable Flutter desktop support for your
platform
.

Then run flutter doctor and be sure that no issues are reported for the
sections relevant to your platform.

Running a Project

Example

Once you have everything set up, just flutter run in the example directory
to run your first desktop Flutter application!

Note: Only debug mode is currently available for Windows and Linux. Running with
--release or --profile will succeed, but the result will still be using a
debug Flutter configuration: asserts will fire, the observatory will be enabled,
etc.

Running Other Flutter Projects

See the example README for information on using the
example as a starting point to run another project.

Repository Structure

testbed is a more complex example that is primarily intended for people
actively working on Flutter for desktop. See its README
for details.

The plugins directory has early-stage desktop
plugins.
See the README for details.

Feedback and Discussion

For bug reports and feature requests specific to the example or the plugins,
you can file GitHub issues. Bugs and feature requests related to desktop support
in general should be filed in the
Flutter issue tracker.

For general discussion and questions there's a project mailing
list
.

Caveats

  • This is not an officially supported Google product.
  • The code and examples here, and the desktop Flutter libraries they use, are
    in early stages, and not intended for production use.

主要指标

概览
名称与所有者google/flutter-desktop-embedding
主编程语言C++
编程语言Objective-C (语言数: 8)
平台
许可证Apache License 2.0
所有者活动
创建于2018-02-14 08:41:16
推送于2024-04-03 22:28:40
最后一次提交2022-07-07 04:32:42
发布数0
用户参与
星数7.1k
关注者数255
派生数605
提交数553
已启用问题?
问题数466
打开的问题数3
拉请求数393
打开的拉请求数0
关闭的拉请求数46
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?