The project currently uses several deprecated Flutter APIs that generate warnings during analysis.
Examples include:
withOpacity() → deprecated, should use withValues(alpha: ...)
surfaceVariant → replaced by surfaceContainerHighest
- Deprecated drag callbacks (
onAccept, onWillAccept)
- Deprecated speech recognition parameters
These deprecations may lead to compatibility issues with newer Flutter versions.
🎯 Proposed Changes
- Replace all usages of
withOpacity() with withValues(alpha: ...)
- Update
surfaceVariant to surfaceContainerHighest
- Migrate deprecated drag-and-drop callbacks
- Update speech recognition API usage
✅ Benefits
- Reduces analyzer warnings
- Improves codebase maintainability
- Ensures compatibility with latest Flutter versions
📊 Additional Context
Running flutter analyze shows multiple deprecation warnings across different modules. :contentReference[oaicite:0]{index=0}
🙋♂️ Contribution
I would like to work on this issue.
The project currently uses several deprecated Flutter APIs that generate warnings during analysis.
Examples include:
withOpacity()→ deprecated, should usewithValues(alpha: ...)surfaceVariant→ replaced bysurfaceContainerHighestonAccept,onWillAccept)These deprecations may lead to compatibility issues with newer Flutter versions.
🎯 Proposed Changes
withOpacity()withwithValues(alpha: ...)surfaceVarianttosurfaceContainerHighest✅ Benefits
📊 Additional Context
Running
flutter analyzeshows multiple deprecation warnings across different modules. :contentReference[oaicite:0]{index=0}🙋♂️ Contribution
I would like to work on this issue.