You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
Migration of all the success and error toast to a common widget in success_toast.dart
The widget here needs some modifications to make it universal. Like it needs two required parameters message andisSuccesswith an option parameter duration. After which this widget needs to be used at all the places in the project by just passing the message, isSuccess, and duration if needed. After successfully accomplishing the task the file toast_tile.dart can be deleted with the file success_toast.dart renamed to something more appropriate liketoast.dartetc.
Issue Severity:
Low
Environment Details:
Project Level
Observed Behaviour:
Toasts are coded multiple times, can be moved to single file
Expected Behaviour:
Removal of unused widgets, unused files. Generation of reusable widgets
Does this issue need immediate attention?
No
Please ask mentors/maintainers to assign if you are willing to work on this issue.
The text was updated successfully, but these errors were encountered:
Issue #700 has now been integrated into the pull request process. It will flag all Dart files that are longer than 300 lines to help with readability. Please make sure your contribution reduces file sizes to within this limit.
Migration of all the success and error toast to a common widget in
success_toast.dart
The widget here needs some modifications to make it universal. Like it needs two required parameters
message
andisSuccess
with an option parameter duration. After which this widget needs to be used at all the places in the project by just passing themessage
,isSuccess
, andduration
if needed. After successfully accomplishing the task the filetoast_tile.dart
can be deleted with the filesuccess_toast.dart
renamed to something more appropriate liketoast.dart
etc.Low
Project Level
Toasts are coded multiple times, can be moved to single file
Removal of unused widgets, unused files. Generation of reusable widgets
No
The text was updated successfully, but these errors were encountered: