Flutter Clone of Kotlin Multiplatform Votlin App

Overview

Flutter Votlin App

Flutter clone 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.

image image

Getting Started with Flutter

For help getting started with Flutter, view the online documentation.

If you want to find how amazing is Flutter, take a look at this repo -> https://github.com/Solido/awesome-flutter

Project architecture

There are some architectures and patterns that are followed by the great community of Flutter:

  • Redux
  • Bloc pattern
  • Scope Model
  • Inherited Widget
  • Model View Controller
  • Model View Intent

A great resource related to flutter architectures -> https://github.com/brianegan/flutter_architecture_samples

Flutter community, for some reason, by the moment, is ignoring Clean Architecture... so, why not give a oportunity to clean architecture in flutter?

This project try to follow the clean architecture structure. Some related resources:

http://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html

https://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/

Architecture branches

To experiment with project architecture, we are going to implement different approaches in different branches

Branch Description
architecture/multiple_packages_mvp Multiple packages, model view presenter
architecture/multiple_packages_scoped_model Multiple packages, scoped model
architecture/multiple_packages_stream_builder Multiple packages, stream builder
architecture/single_package_stream_builder Single package, stream_builder
architecture/single_package_platform_channel Single package, platform channel

But... is Clean Architecture the best architecture for Flutter?

Absolutely not. This is only a petshop project for experiment with Clean Architecture and with Flutter framework. We don't know what is the best architecture for Flutter. The only way to find it is experimenting!

Animation branches

To experiment with animations, we are going to create different branches

Branch Description
animations/animated_builder Experiment with animated builder widget

TODO branches

  • Flare
  • Lottie

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/ . 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

LOCALHOST

Running tests

TODO

Thanks to:

Contributing

Feel free to open issues or make a pull request. All contributions are welcome!

You might also like...

inshorts News App Clone with flutter and newsapi.org API

inshorts News App Clone with flutter and  newsapi.org API

Inshorts clone (The News App) The Clone of the populer News App in India Try latest inshorts Clone app apk from below 👇 inshortsClone.apk Update Mult

Dec 28, 2022

Inshorts News App Clone Built With Flutter

Inshorts News App Clone Built With Flutter

Inshorts clone (The News App) The Clone of the populer News App in India Try latest inshorts Clone app apk from below 👇 inshortsClone.apk Update Mult

Sep 26, 2022

A clone of the TikTok App using Flutter.

A clone of the TikTok App using Flutter.

Tik Tok App clone TikTok is an iOS and Android media app for creating and sharing short videos. The app was launched in 2017 by ByteDance, for markets

Dec 19, 2022

Udacity Flutter Web Clone App

 Udacity Flutter Web Clone App

Udacity Flutter Web Clone App This is a clone of the famous application Udacity, and its done with the flutter frame work, this particular repo, conta

Oct 28, 2020

Instagram clone app built using flutter

Instagram clone app built using flutter

instagram_clone A new Flutter project. Run In order to run your application, typ

May 2, 2022

Facebook Clone App Built Using Flutter

Facebook Clone App Built Using Flutter

flutter_facebook_clone Facebook Clone. Getting Started A few resources to get yo

Jan 22, 2022

Whatsapp Clone App made with Flutter

Whatsapp Clone App made with Flutter

Whatsapp Clone App made with Flutter

Aug 26, 2022

Clone app from the tumblr

temp A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Oct 25, 2021

A simplified clone of Facebook app

fb_clone This is a simplified (non-functional) clone of Facebook app, in order to discover basic widgets. Getting Started This project is a starting p

Nov 7, 2021
Owner
Worldline Iberia
We direct all our experience, technology and people towards one ambition: to ensure that every single payment is one that you can trust.
Worldline Iberia
Flutter-based mobile app displaying a list of daily curated content from top engineering blogs and articles. Backed by a GraphQL-based API written in Kotlin..

Flutter-based mobile app displaying a list of daily curated content from top engineering blogs and articles. Backed by a GraphQL-based API written in Kotlin..

Armel Soro 20 Dec 14, 2022
Fashion App Clone - a clone app from Emre Altunbilek's Flutter Course

Fashion App Clone This is a clone app from Emre Altunbilek's Flutter Course. I am trying to clone UI and improve code.

Eren 5 Oct 2, 2022
Whats-App-Clone-UI-using-Flutter - WhatsApp Clone UI using Flutter

WhatsApp ?? Clone UI ?? using Flutter ?? Screenshots Links My Socials Youtube ch

AmirHossein Bayat 6 Dec 7, 2022
WiwaChat-WhatsApp-Like-Clone - A beautiful and fully functional WhatsApp UI clone in Flutter

Wiwa Chat - A WhatsApp Clone in Flutter A beautiful and fully functional WhatsAp

Ogbodo ThankGod 7 Nov 6, 2022
Wordle-clone - A Wordle-clone built using Flutter

Wordle-clone The project consists of two applications : wordle_clone_api : Which

Aswin Gopinathan 2 Jan 25, 2022
Whatapp clone UI - WhatApp UI clone in flutter

whatapp clone in flutter WhatApp UI clone in flutter Getting Started

Neha Tanwar 4 Feb 6, 2022
Whatsapp-clone - A whatsapp clone with dart

whatsapp-clone Just a simple whatsapp clone with dart

arinzejustinng 1 Mar 28, 2022
Messenger App clone with Flutter

Messenger App clone with Flutter

null 1 Oct 6, 2021
Flutter Uber Clone / Taxi App

Flutter Uber Clone / Taxi App Getting Started Get the apk for this project at this link There are mainly two aspects to consider in order to have this

Santos Enoque 133 Jan 1, 2023
Flutter Building LinkedIn Clone App responsive

Flutter LinkedIn Clone App Show some and star the repo to support the project Screenshots Web mobile Watch Flutter LinkedIn Clone App - Responsive com

Md Shazib Ahmed 2 Dec 2, 2021