Skip to content

google/flutter-desktop-embedding

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

The testbed/ directory is a relic of a much earlier stage of desktop development, when maintaining apps was cumbersome (because they had to be recreated from scratch on a regular basis, before the template stabilized) and it was useful to have a desktop-enabled example handy for basic functionality like scrolling and typing that were still being implemented.

This removes testbed/, and replaces it with standard in-package examples for the two remaining plugins (the other purpose of testbed). Each is created with `flutter create -t plugin .` with the following changes:
- Removed all the template comments.
- Removed the template-standard used of `flutter_lints` (as the repo uses flutter/plugins-based lints).
- Added the copyright notice.
- Changed the example Dart code:
  - `menubar`'s example is the counter app, but with the resize-on-launch logic taken from `testbed`.
  - `testbed`'s example is testbed's code, but with the keyboard and scrolling parts removed.
- Changed the template-standard integration test to be a simple sanity check that calling the plugin works.
- Removed the (new!) template-standard macOS native unit tests, since backfilling unit tests is out of scope here. The scaffolding is still in place in case we want to add some later.

Having the standard example structure will make the plugins easier to maintain when we do need to touch them, and easier for people to find out how to use.

Tangential change:
- Updates the CI hosts since the macOS and Linux hosts that were there are deprecated.
6c66ad2

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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, and all that remains here are experimental, early-stage desktop plugins.

If you want to get started with Flutter on desktop, the place to start is now the Flutter documentation, rather than this project. You will already need to have followed the instructions there to get an application running on desktop before using any of the plugins here.

Feedback

Do not file issues about Flutter for desktop here. Since the embeddings have all moved to the Flutter project, the place for desktop bugs and feature requests is now the Flutter issue tracker.

For bug reports and feature requests related to the plugins in this repository, please file issues here.

Repository Structure

The plugins directory contains all the plugins. See its README to get started.

Caveats

  • This is not an officially supported Google product.