Skip to content

Comments

Use const constructor for FlutterSecureStorage to fix analyzer lint#47

Merged
TechAdeptRDD merged 1 commit intomainfrom
codex/fix-static-analysis-error
Feb 21, 2026
Merged

Use const constructor for FlutterSecureStorage to fix analyzer lint#47
TechAdeptRDD merged 1 commit intomainfrom
codex/fix-static-analysis-error

Conversation

@TechAdeptRDD
Copy link
Owner

@TechAdeptRDD TechAdeptRDD commented Feb 21, 2026

Motivation

  • Fix the prefer_const_constructors analyzer warning reported for flutter_app/lib/services/secure_storage_service.dart by making the storage instance eligible for const initialization.

Description

  • Change the FlutterSecureStorage instantiation to use a const constructor in flutter_app/lib/services/secure_storage_service.dart (make _storage = const FlutterSecureStorage(...)).

Repository owner deleted a comment from chatgpt-codex-connector bot Feb 21, 2026
@TechAdeptRDD TechAdeptRDD merged commit b40c54d into main Feb 21, 2026
5 of 6 checks passed
@TechAdeptRDD TechAdeptRDD deleted the codex/fix-static-analysis-error branch February 21, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant