Skip to content

gsukanto/hello_flutter

Repository files navigation

Hello Flutter

A new Flutter project for learn flutter.

Getting Started

before starting, you need to:

after that, go to this repository and install all the dependencies by using pub package manager:

flutter pub get

to run this project, run iOS simulator / Android Emulator and then run the flutter:

flutter run

Lint

to run lint, use this command:

flutter analyze

Test

to run unit testing & widget testing, use this command:

flutter test

for getting test coverage, use this command:

flutter test --coverage

it will create coverage folder with lcov.info file inside it. To open the coverage result, lcov is needed:

brew install lcov
sudo apt install lcov

for generate html result, use this command:

genhtml coverage/lcov.info -o coverage/html

then open coverage/html/index.html using browser.

To open the result using terminal only, run lcov command:

lcov -l coverage/lcov.info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages