Repository navigation
chore: clear ruflet_charts and ruflet_audio_recorder analyzer issues - #77
Merged
AdamMusa merged 1 commit intoNov 2, 2026
Merged
Conversation
- charts: drop two const keywords inside an already const list and declare provider as a dev_dependency for the Cupertino charts test that imports it. - audio_recorder: keep the deprecated IosRecordConfig.manageAudioSession behind a scoped ignore. Moving to AudioRecorder.ios.manageAudioSession changes when the audio session is managed, so it is a separate follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Clears the 4 analyzer issues that already exist on the base in
ruflet_chartsandruflet_audio_recorder. They are the only reason #76's verify shows FAIL. No behavior change.unnecessary_constkeywords inlib/src/utils/charts.dart. Both colors already sit inside aconstlist, so the list is unchanged.provider: ^6.1.5todev_dependencies, the version the other extensions use.test/cupertino_charts_test.dartimportspackage:provider/provider.dartforChangeNotifierProvider, which trippeddepend_on_referenced_packages.IosRecordConfig.manageAudioSessionstays, behind a narrowly scoped// ignore: deprecated_member_usewith a one-line reason.Known follow-up
Migrate
manage_audio_sessionfrom the deprecatedIosRecordConfig.manageAudioSessiontoAudioRecorder.ios.manageAudioSession. The replacement is a recorder-level setting, not part of the per-recording config. Moving to it changes when and for which recordings the iOS audio session is managed. It needs its own change and an on-device check, so this PR keeps the current behavior.Tests
team/verify_pr.sh <engine> ""withEXT_PKGS="ruflet_charts ruflet_audio_recorder"ata0eee49(on base5c0cecf): PASSflutter test: +746, all passed;flutter analyze lib test: No issues foundtest/dir;flutter analyze: No issues foundUnblocks #76 (extension enum snake_case), whose remaining verify FAIL lines are exactly these 4 issues.