Giter VIP home page Giter VIP logo

flutter_boilerplate's Introduction

flutter_boilerplate

This repository is a boilerplate for flutter project.

What are included?

Useful lib for setting app launcher icon.

A lib flutter_launcher_icons is for create Android and iOS launcher icons from one image files.

Use when?

After adding or updating a launcher icon file for your app.

How to use?

  1. Put a image file in icon/.
  2. Run flutter pub run flutter_launcher_icons:main

See this lib's pub.dev page about more details.

Build shell script for building the release resources.

Bash script to create Android and iOS release build at once.

Use when?

Before submitting your app to Google Play Console or Apple AppStore Connect.

How to use?

  1. Run build.sh
  2. The resources are created to sub directories under build/. See the log to where Android and iOS resources.
  3. For Android, upload .aab file to Google play console via your browser.
  4. For iOS, upload .ipa file to AppStore console via Apple's Transpoter app.

Static code check for VSCode

By using pedantic_mono, show warning or automatically apply suitable formatting to your code.

Use when?

Always. VS Code will apply code check automatically.

How to use?

Automatically apply. But if you want to modify the rules to make them suitable for your style, see this lib's pub.dev.

File scope adjustment script for test coverage.

I don't know the reason, but flutter test --coverage will count the total lines to calculate the coverage based on only production code which referenced from test code.

So, very beginning of testing, flutter test command shows an useless coverage information like 100% or 90% coverage even if almost all of production code actually not tested.

To fix this issue, use the idea from this stack overflow answer.

Use when?

When production code files are added or deleted.

How to use?

  1. Run dart_full_coverage.sh

flutter_boilerplate's People

Contributors

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