Implemented a Daily Activities Screen with Provider Integration, Dynamic UI, and enhanced user Interactions#85
Open
SharkyBytes wants to merge 1 commit intoAOSSIE-Org:mainfrom
Conversation
Contributor
Author
|
@mdmohsin7 Please take a look. |
Vivekgupta008
approved these changes
Mar 24, 2025
Member
|
@SharkyBytes pls try to match the designs to the figma. And also can you pls share the demo video of what happens when you click on schedule, add/remove activities and delete? |
mdmohsin7
requested changes
Mar 24, 2025
| child: Column( | ||
| children: [ | ||
| // Activity Sets | ||
| for (int i = 0; i < activitySets.length; i++) ...[ |
Member
There was a problem hiding this comment.
could make use of a list view instead of a for loop?
| @@ -0,0 +1,92 @@ | |||
| import 'package:flutter/material.dart'; | |||
|
|
|||
| class ActivitySet { | |||
| ); | ||
| } | ||
|
|
||
| Widget _buildActionButton(IconData icon, String label) { |
Member
There was a problem hiding this comment.
pls prefer using stateless widgets over widget functions
Member
|
Hi @SharkyBytes, any update? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #82
📝 Description
This pull request addresses issue by implementing the daily activities screen for the therapist app. Key features and changes include:
->Implemented the DailyActivitiesScreen using Provider for state management and mock data.
->Created a separate ActivitySetCard widget for modular and reusable UI
->Added dynamic repeat information text based on selected days
->Implemented separate states for active/inactive and expanded/collapsed views
->Prepared the structure to easily integrate backend data for activities
->Enhanced UI with expandable activity sets and day selection functionality
🔧 Changes Made
📷 Screenshots or Visual Changes (if applicable)
Recording.2025-03-23.121802.mp4
✅ Checklist