A Flutter project representing the implementation of the BLoC pattern, using the example of an application providing the weather for selected locations.
Full stack: BLoC, GoRouter, GetIt, Injectable, Mockito, Sembast.
App uses AccuWeather API to fetch weather conditions data.
Please provide your API key to take advantage of the full functionality. If you not provide it, dummy data will be used.
API key must be provided as dart define like presented below:
flutter run --dart-define=WEATHER_API_KEY={YOUR_API_KEY}
You can easily generate free API key from AccuWeather developer website. It has a limit of 50 hits per day.
Project developed and ran on Flutter ver 3.13.6 (Dart 3.1.3)