This is a Flutter application that fetches user information from a dummy API and displays it on the screen.
- Fetches user information from a dummy API.
- Displays user information including name, username, email, phone, and website.
- Clone this repository to your local machine using
git clone
. - Make sure you have Flutter installed. If not, follow the instructions here.
- Navigate to the project directory in your terminal.
- Run
flutter pub get
to install dependencies. - Run
flutter run
to start the application on your connected device or emulator.
lib/
|- core/
| |- errors/
| | |- app_error.dart
| |- constants/
| | |- app_constants.dart
| |- utils/
| |- app_utils.dart
|
|- domain/
| |- entities/
| | |- user.dart
| |- repositories/
| | |- user_repository.dart
| |- usecases/
| |- get_user_info.dart
|
|- data/
| |- repositories_impl/
| | |- user_repository_impl.dart
| |- datasources/
| |- user_api.dart
|
|- presentation/
| |- screens/
| | |- user_info_screen.dart
| |- widgets/
| |- blocs/
| |- user_info_bloc.dart
|
|- main.dart