Refactor color handling and improve UI responsiveness
This update enhances the color handling across various components by replacing the use of withOpacity with a new method withValues for better clarity and consistency. Key changes include:
- Updated color definitions in multiple widgets to utilize
withValuesfor alpha adjustments. - Refactored UI components to ensure proper responsiveness and visual feedback based on state changes.
- Removed unnecessary print statements and improved error handling in several areas.
These changes aim to improve the overall user experience by providing a more consistent visual representation and enhancing the maintainability of the codebase.