Repository navigation
Releases
Releases · prathameshkhade/user-dashboard
Release v1.0.1
Release v1.0.1
This version introduces a new ErrorScreen widget to display error messages with a Lottie animation. The lottie package has been added to dependencies.
Specific changes:
- Added
ErrorScreenwidget inlib/core/common/widgets/error_screen.dart. - Integrated
ErrorScreenintoDashboardScreento show errors with a Lottie animation. - Added
lottiedependency topubspec.yamland updatedpubspec.lock. - Added
assets/lottie/topubspec.yamlassets. - Added internet permission to
AndroidManifest.xml. - Refactored
UserBlocandReportBlocfor minor code style improvements. - Adjusted delay in
ReportBlocfor fetching reports. - Trigger refresh indicator programmatically when
loadUsersis called inDashboardScreen
APK Files:
- UserDashboard-v1.0.1-arm64-v8a.apk: For most modern Android devices
- UserDashboard-v1.0.1-armeabi-v7a.apk: For older Android devices
- UserDashboard-v1.0.1-x86_64.apk: For Android emulators
Full Changelog: v1.0.0...v1.0.1
Release v1.0.0
UserDashboard v1.0.0
✨ Features Implemented
- User Dashboard:
- Displays a list of users fetched from a dummy API.
- Each user card shows their name, email, and company name.
- Search functionality to filter users by name (case-insensitive).
- Sorting functionality to arrange users alphabetically by name (A-Z and Z-A).
- "View Reports" button navigates to the Report Screen.
- "Create User" button navigates to the Create User Screen.
- Report Screen:
- Displays a static list of pre-defined reports with titles and summaries.
- Back navigation to the Dashboard Screen.
- Create User Screen:
- A form with fields for:
- Name
- Phone
- Website
- A "Submit" button (currently shows a snackbar message on tap, no actual data submission).
- Back navigation to the Dashboard Screen.
- A form with fields for:
- Navigation:
- Implemented using Flutter's
Navigatorfor screen transitions. - No bottom navigation bar is used, as per the requirement.
- Implemented using Flutter's
- State Management:
- The application utilizes the Bloc pattern for robust state management, promoting a clear separation of concerns and testability.
- Architecture & Data Fetching:
- Users are fetched from
jsonplaceholder.typicode.com/users. - Error handling for API calls (displays an error message if fetching fails).
- Loading indicator while fetching data.
- Users are fetched from
APK Files:
- UserDashboard-v1.0.0-arm64-v8a.apk: For most modern Android devices
- UserDashboard-v1.0.0-armeabi-v7a.apk: For older Android devices
- UserDashboard-v1.0.0-x86_64.apk: For Android emulators