A Flutter application for getting weather condition.
- Firstly, get API_KEY from OpenWeatherMap.
- Create file named
api_key.dart
with following content:
class Api {
static const API_KEY = 'YourApiKey';
}
- Run
flutter pub get
and then runflutter run
.