Flutter app developed during Flipr Hackathon XII following Uncle Bob's Clean Architecture
Problem Statement:
- Login via ● Username - password ● Login using OTP through the mail. This means OTP should be sent to mail ID.
- Dealer Home screen should show the list of drivers going through the same route as the dealer's State and City which means the dealer should be able to see the drivers who have mentioned the same interested routes as the dealer’s State and City.
- Drivers Home screen should show the list of Dealers that have booked them.
Live Demo Click here
domain
: abstract classes, usecases, entitiesdata
: domain implementation, all external data sourcesapplication
: Directly translates tocubit
.presentation
: allscreens
andwidgets
.
- BLoC, Widgets that make it easy to integrate blocs and cubits into Flutter
flutter_bloc: ^8.0.1
- flutter_web_frame, Make the frame max width / size when on large devices such as Web or Desktop.
flutter_web_frame: ^0.0.2
- giff_dialog, A beautiful and custom alert dialog for flutter
giff_dialog: ^1.0.1
- freezed, used to generate data class and union class.
freezed: ^1.1.1
- Dartz, Functional programming in Dart
dartz: ^0.10.1
- cloud_firestore, A Flutter plugin to use the Cloud Firestore API.
cloud_firestore: ^3.1.8
- injectable, Injectable is a convenient code generator for get_it.
injectable: ^1.5.3
and more :)
flutter pub run build_runner build --delete-conflicting-outputs
Following commmand will keep checking for changes in code and do code generation on the fly.
flutter pub run build_runner watch --delete-conflicting-outputs
flutter build apk
flutter run
Build command:
if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release
Publish directory: build/web
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.