GithubHelp home page GithubHelp logo

hhy5277 / flutter_everywhere Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rodydavis/flutter_everywhere

0.0 1.0 0.0 239.03 MB

Template Flutter Project for iOS, Android, Fuschica, MacOS, Windows, Linux, Web, Command Line

Home Page: https://appleeducate.github.io/flutter_everywhere/#/

Dart 0.04% Makefile 0.01% C++ 0.01% Swift 0.01% Objective-C 0.01% Batchfile 0.01% Kotlin 0.01% HTML 0.01% JavaScript 99.91%

flutter_everywhere's Introduction

Flutter Everywhere

Codemagic build status

Overview

The goal of this repo is to have everything you need to start with flutter desktop + mobile simply by forking the project. This will no longer be necessary once flutter create supports desktop and web.

Fork this project or click 'Use Template' to get started! :)

You need to be on the flutter master or dev channel for this project to work!

  • Update Flutter flutter channel master; flutter upgrade

Getting Started - Mobile

  1. cd mobile

  2. Run flutter build ios || flutter build apk

Getting Started - Desktop

The desktop support is provided by flutter-desktop-embedding. For any issues and setup instructions please refer to the docs here.

  1. cd desktop

  2. Update your $PATH export ENABLE_FLUTTER_DESKTOP=true

  3. Run flutter precache

  4. Run flutter run -d macos || flutter run -d windows || flutter run -d linux

Getting Started - Web

Flutter for Web is provided by flutter_web. For Issues and Setup Info refer to the docs here.

  1. cd web

  2. Update your $PATH export FLUTTER_WEB=true

  3. Run flutter packages global run webdev serve

Getting Started - Shared and Core

Core

This is the core part of your app that can be shared between web, mobile and command-line versions of your app. This part cannot depend on the Flutter SDK.

Use this for constants, classes, abstract classes and utilites.

  1. Run cd core

  2. Run flutter packages pub run build_runner watch —delete-conflicting-outputs

Shared

This is the part of the app that can share everything used in the Flutter SDK. Like Models, Themes and Locale. Shared includes core.

  1. Run cd shared

flutter_everywhere's People

Contributors

rodydavis avatar

Watchers

 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.