Giter Site home page Giter Site logo

base-flutter's Introduction

Projeto base

Configurar diferentes environments no VSCode:

  • Substituir o conteúdo de .vscode/launch.json por:
{
    "version": "0.2.0",
    "configurations": [{
        "name": "quality",
        "program": "lib/main_qa.dart",
        "request": "launch",
        "type": "dart"
    }, {
        "name": "production",
        "program": "lib/main_prod.dart",
        "request": "launch",
        "type": "dart"
    }, {
        "name": "homolog",
        "program": "lib/main_homolog.dart",
        "request": "launch",
        "type": "dart"
    }, {
        "name": "dev",
        "program": "lib/main.dart",
        "request": "launch",
        "type": "dart"
    }]
}
  • Para atualizar a splash_screen de acordo com a logo flutter pub pub run flutter_native_splash:create
  • Para atualizar o launcher_icon flutter pub run flutter_launcher_icons:main
  • Para rodar um flavor utilizar: flutter build -t lib/main_${FLAVOR}.dart;
  • Para gerar builds utilizar: flutter build -t lib/main_${FLAVOR}.dart;
  • Os flavores disponíveis são: homolog, prod, qa;
  • Caso seja necessária a alteração da URL base do âmbiente alterar no arquivo main respectivo a URL.

base-flutter's People

Contributors

w4ll3 avatar

Watchers

 avatar  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.