This is a project for a mobile client that interacts with the E-cclesia e-voting protocol. The client is developed using Flutter and BLoC as the state management.
At the moment, the UI is partially connected with the backend. To further develop the project, you should understand how to use BLoC since it is the state management that has been set up. Currently, for operations that do not relate to the Setup and Credential Generation phases of the protocol, dummy data is being populated in the UI.
Make sure you have flutter installed first. To check if flutter is installed in your machine, run this command:
flutter --version
If the version of flutter did not print out, it means your machine does not have flutter installed. Click here to learn how to install flutter into your machine.
Once you have installed Flutter, go into the directory of this project and run:
flutter pub get
flutter run
If flutter has a problem, run the following:
flutter doctor
And fix any error that is presented and try to run again.
- Dummy data can be found in the respective model dart files,
lib/data/models
. - This project uses
app_router
for routes.