# flutter-desktop-embedding **Repository Path**: mobile-webs/flutter-desktop-embedding ## Basic Information - **Project Name**: flutter-desktop-embedding - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Desktop Embedding for Flutter This project was originally created to develop Windows, macOS, and Linux implementations of [Flutter](https://github.com/flutter/flutter). That work has since become part of the [Flutter engine repository](https://github.com/flutter/engine), and this project is now just an example of, and test environment for, building applications using those libraries. For information about the shells themselves, see the [Flutter page about desktop support](https://github.com/flutter/flutter/wiki/Desktop-shells). ## How to Use This Code _If you have an existing Flutter app and just want to get it running, see the [quick start](Quick-Start.md) page before continuing._ ### Setting Up #### Tools You will need developer tools for your platform: * Linux: A recent version of GCC * macOS: The current version of Xcode * Windows: Visual Studio 2017, including the "Desktop development with C++" workload. (See [#342](https://github.com/google/flutter-desktop-embedding/issues/342) for 2019.) #### Source If you are building anything other than `example/`, the tooling and build infrastructure for this project requires that you have a Flutter tree in the same parent directory as the clone of this project: ``` ├─ flutter (from https://github.com/flutter/flutter) └─ flutter-desktop-embedding (from https://github.com/google/flutter-desktop-embedding) ``` Alternately, you can place a `.flutter_location_config` file in the directory containing flutter-desktop-embedding, containing a path to the Flutter tree to use, if you prefer not to have the Flutter tree next to flutter-desktop-embedding. ### Repository Structure The `example` directory contains an example application built using the library for each platform. See [its README](example/README.md) to get started. In addition, there is: * `plugins`: Plugins which provide access to additional platform functionality. These follow a similar structure to [Flutter plugins](https://flutter.io/developing-packages/). See the [README](plugins/README.md) for details. * `third_party`: Dependencies used by this repository, beyond Flutter itself. * `tools`: Tools used in the development process. ## Debugging Debugging of the Flutter side of a desktop application is possible, but requires [a modified workflow](Debugging.md). To debug the Flutter engine, you can [use a local engine build](LocalEngine.md). ## Feedback and Discussion For bug reports and specific feature requests, you can file GitHub issues. For general discussion and questions there's a [project mailing list](https://groups.google.com/forum/#!forum/flutter-desktop-embedding-dev). When submitting issues related to build errors or other bugs, please make sure to include the git hash of the Flutter checkout you are using. This will help speed up the debugging process. For build errors, please also run: ``` tools/run_dart_tool doctor ``` before filing a bug or emailing the list, to ensure that you have all the basic dependencies set up correctly. ## 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. * There is currently no versioning system for coordinating the version of this project with the required version of Flutter. For now the expectation is that anyone experimenting with this project will be tracking Flutter's master branch. If you encounter build issues, try using a newer version of Flutter. If your issues are specific to the latest Flutter master, please file a bug!