nimblehq / ic-flutter-avishek

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Survey

codecov

All the templates that can be used to kick off a new Flutter application quickly.

Usage

Clone the repository

git clone git@github.com:nimblehq/ic-flutter-avishek.git

Prerequisite

  • Flutter 2.10.3
  • Flutter version manager (recommended): fvm

Getting Started

Setup

  • Create these .env files in the root directory according to the flavors and add the required environment variables into them. The example environment variable is in .env.sample.

    • Staging: .env.staging

    • Production: .env

  • Run code generator

    • $ fvm flutter packages pub run build_runner build --delete-conflicting-outputs

Run

  • Run the app with the desire app flavor:

    • Staging: $ fvm flutter run --flavor staging

    • Production: $ fvm flutter run --flavor production

Test

  • Run unit testing:

    • $ fvm flutter test
  • Run integration testing:

    • $ fvm flutter drive --driver=test_driver/integration_test.dart --target=integration_test/{test_file}.dart --flavor staging

    • For example:

      $ fvm flutter drive --driver=test_driver/integration_test.dart --target=integration_test/my_home_page_test.dart --flavor staging

License

This project is Copyright (c) 2014 and onwards. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

Nimble

This project is maintained and funded by Nimble.

We love open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.

About

License:MIT License


Languages

Language:Dart 92.3%Language:Ruby 7.4%Language:Swift 0.2%Language:Kotlin 0.1%Language:Objective-C 0.0%