https://github.com/systangotechnologies/flutter-boilerplate
Flutter Boilerplate
https://github.com/systangotechnologies/flutter-boilerplate
android dart flutter ios
Last synced: about 1 year ago
JSON representation
Flutter Boilerplate
- Host: GitHub
- URL: https://github.com/systangotechnologies/flutter-boilerplate
- Owner: SystangoTechnologies
- Created: 2020-08-11T06:54:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-13T06:18:06.000Z (almost 6 years ago)
- Last Synced: 2025-04-23T04:05:04.343Z (about 1 year ago)
- Topics: android, dart, flutter, ios
- Language: Dart
- Homepage:
- Size: 85 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flutter Boilerplate
## Introduction
A boilerplate project for flutter.
## How to use
**Step 1:**
Download or clone this repo by using the link below:
```
https://github.com/SystangoTechnologies/RN-Boilerplate.git
```
**Step 2:**
Go to project root and execute the following command in console to get the required dependencies:
```
flutter pub get
```
**Step 3:**
**For iOS only:**
```
cd ios && pod install
```
**Step 4:**
To run the app on device or simulator, execute the following command.
```
flutter run -d
```
## Dependencies Used
* validators - ^2.0.0
* shared_preferences - ^0.5.8
* uuid - 2.2.0
* http - ^0.12.2
* loading_overlay - ^0.2.1
## Features
* Generic API structure.
* Test Cases.
* Unit test cases.
* Widget test cases.
## Testing
To run all the test cases of all the test files, execute the following command.
```
flutter test
```
To run a particular test case file, you have to specify the file path and execute the following command.
```
flutter test
```
## Folder Structure
```
test/
|- unit_test.dart
|- widget_test.dart
lib/
|- bloc
|- contact_bloc.dart
|- api_provider
|- base_api_provider.dart
|- contact_api_provider.dart
|- constants
|- endpoints.dart
|- headers.dart
|- strings.dart
|- model
|- contact.dart
|- repository
|- contact_repository.dart
|- ui
|- home_page.dart
|- test_cases_demo_page.dart
|- utils
|- contact_utils.dart
|- guid_utils.dart
|- validators.dart
|- main.dart
```
## Conclusion
This is a boilerplate project made in flutter. Supported on all iOS and android devices.