A simple weather app built with Flutter to display current weather information for different cities.
- View current weather information for a specific city.
- Autocomplete search functionality to find cities easily.
- Clear button to reset the search input and suggestions.
- Flutter: A UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase.
- Bloc Library: A predictable state management library for Dart and Flutter that helps implement the BLoC (Business Logic Component) architectural pattern.
- Clone the repository to your local machine
- Navigate to the project directory
- Install dependencies:
flutter pub get
- Run the app:
flutter run
- Upon launching the app, you'll see a search bar at the top.
- Start typing the name of a city to see autocomplete suggestions.
- Select a city from the suggestions to view its current weather.
- To clear the search input and suggestions, press the clear button next to the search bar.
- flutter_bloc: State management library for Flutter applications.
- weather_service: A service to fetch weather data from an API.
- http: HTTP client for making API requests.
- autocomplete_textfield: A text field widget with autocomplete suggestions.
- This app was created by KNOUZ Oussama.
This project is licensed under the MIT License.