Removed the snackBar, since the ScaffoldMessanger was routing to root Scaffold and the Alert Dialog had no Scaffold.
Implemented the same functionality using Flushbar that disapears automatically after 3 seconds.
Also added a booled, inThePast, to check if the time user picked was in the past, if so the time color would be in red to attract their attention.
Fixes #(312)
Replaced snackbar with flushbar.
Screenshots
Checklist
[ ] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
Description
Removed the snackBar, since the ScaffoldMessanger was routing to root Scaffold and the Alert Dialog had no Scaffold. Implemented the same functionality using Flushbar that disapears automatically after 3 seconds. Also added a booled, inThePast, to check if the time user picked was in the past, if so the time color would be in red to attract their attention.
Fixes #(312)
Replaced snackbar with flushbar.
Screenshots
Checklist