Giter Site home page Giter Site logo

zhutianli / flutter-desktop-embedding Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/flutter-desktop-embedding

0.0 1.0 0.0 1.71 MB

Examples of using, and testbed for, the in-development Flutter for Desktop

License: Apache License 2.0

Shell 3.88% PowerShell 1.23% Dart 31.26% Makefile 8.28% C++ 30.11% Swift 1.90% Objective-C 5.98% Batchfile 4.65% C 3.00% Objective-C++ 9.70%

flutter-desktop-embedding's Introduction

Desktop Embedding for Flutter

This project was originally created to develop Windows, macOS, and Linux implementations of Flutter. That work has since become part of the Flutter engine repository, 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.

How to Use This Code

If you have an existing Flutter app and just want to get it running, see the quick start 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 or 2019, including the "Desktop development with C++" workload.

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:

<parent dir>
  ├─ 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 to get started.

In addition, there is:

  • plugins: Plugins which provide access to additional platform functionality. These follow a similar structure to Flutter plugins. See the README 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 setup.

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.

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!

flutter-desktop-embedding's People

Contributors

stuartmorgan avatar franciscojma86 avatar awdavies avatar callumiddon avatar jonahwilliams avatar geertjohan avatar jbg avatar krisgiesing avatar xuexin avatar 0xflotus avatar devoncarew avatar clarkezone avatar johannesgh avatar laura-swe avatar pklebba avatar rashedmyt avatar vially avatar badpx avatar evilbird avatar maun avatar cloudwebrtc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.