Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter votlin app

flutter download of kotlin multiplatform votlin app -> https://github.com/sergiocasero/votlin-app

kotlin multiplatform is great, but flutter can be a fantastic alternative!

this is a small petshop with a master/detail structure. it lists the talks from extremadura digital day event.

how to build and run

building the code

  • use your favorite ide. flutter supports different ide
  • if you don’t have flutter installed, follow the official docs: https://flutter.io/docs/get-started/install
  • if your ide shows some errors, don’t forget to execute command flutter packages get in domain and data modules

running the android app

we have created some kind of flavors in flutter app, inspired by this post

actually, we have added configuration for each flavor in data layer

probably we can find better ways, but this is only the beginning.

to run the android app:

  • execute flutter run lib/<main_file>. for instance, to run mock flavor, execute flutter run lib/main-mock.dart.
  • if you execute flutter run, mock flavor is executed
flavor description main file
mock offline version, mocked with a json file main-mock.dart
localhost_emulator online version, against localhost, running in the emulator. json server required main-localhost_emulator.dart

running the ios app

todo

running the backend

mock flavor does not backend, because we get the information from hardcoded json.

mock

no backend required, we get the information from hardcoded json


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.