in

Cambodia Geography App Build Using Flutter


Discover places & geography around Cambodia.

Getting Started

In this project, we use flutter 2.2.3. If you have different version, you should consider install FVM.

Prerequisites

fvm flutter pub get
fvm flutter run

Built with

Data use

Code generation

Model generations with JSON Serialization

We uses Json Serializable [ https://flutter.dev/docs/development/data-and-backend/json#code-generation ] package build tool to generate model from Json to Class object. In case you want to add more fields model or even change the model data type, you need to run the command:

flutter pub run build_runner build --delete-conflicting-outputs

Assets generations with flutter_gen

We also use flutter_gen which is the Flutter code generator for your assets, fonts, colors, … — to Get rid of all String-based APIs.

Installation: [https://pub.dev/packages/flutter_gen/install]

Generate new assets:

fluttergen
Widget build(BuildContext context) {
  return Assets.images.profile.image();
}

Authors

Group 4

GitHub

https://github.com/CSG6Project1/cambodia_geography_mobile


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

Malware Attack on Aviation Sector Uncovered After Going Unnoticed for 2 Years

Linux Mint’s Website Has a Much Needed Minty Fresh New Look