-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Describe the feature you'd like
The PreparationFormCreateList component currently supports a boolean flag enableDismissible to toggle between a dismissible list and a non-dismissible list. We want to standardize the behavior by removing the non-dismissible option and making the list always dismissible.
Changes Required
-
Refactor
PreparationFormCreateList:- File:
lib/presentation/schedule_create/schedule_spare_and_preparing_time/preparation_form/components/preparation_form_create_list.dart - Remove the
enableDismissibleparameter from the constructor. - Remove the conditional logic in the
buildmethod. - Replace the usage of
PreparationFormReorderableListwithPreparationFormReorderableListDismissiblepermanently.
- File:
-
Clean up Unused Code:
- Check if
PreparationFormReorderableList(defined inlib/presentation/schedule_create/schedule_spare_and_preparing_time/preparation_form/components/preparation_form_reorderable_list.dart) is used anywhere else. If not, delete the file and the class.
- Check if
-
Update Call Sites:
- Update any parent widgets instantiating
PreparationFormCreateListto stop passing theenableDismissibleargument.
- Update any parent widgets instantiating
Additional context
This change simplifies the UI logic by enforcing a consistent interaction pattern (dismissible list items) for the preparation form creation list.
Metadata
Metadata
Assignees
Labels
No labels