- Create a new file named
.env
in the root directory of the project. - Add the following content to the
.env
file, replacing<HOST>
with the Bari Koi API host and<YOUR_KEY>
with your Bari Koi API key.
# https://barikoi.xyz/v2/api
BARIKOI_HOST_API=<HOST>
BARIKOI_API_KEY=<YOUR_KEY>
Run the following command in the terminal to generate necessary code.
flutter pub run build_runner build --delete-conflicting-outputs
Once you've completed the setup steps, you can run the Flutter project.
flutter run