Skip to content

fix: replace deprecated cupertino import (4.0.1) - #71

Merged
Tkko merged 1 commit into
mainfrom
fix/deprecated-cupertino-import
Nov 26, 2026
Merged

Tkko merged 1 commit into
mainfrom
fix/deprecated-cupertino-import

Conversation

@Tkko

@Tkko Tkko commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • lib/src/models/smart_auth_result.dart imported package:flutter/cupertino.dart, which is deprecated since Flutter 3.47. pub.dev (Flutter 3.50) flags it and the package loses 10 static-analysis points (40/50).
  • The file only uses @immutable, so it now imports package:flutter/foundation.dart, like sms_code_result.dart.
  • Bumps the version to 4.0.1 and adds a changelog entry.

Testing

  • fvm flutter analyze: no issues (local Flutter 3.47.9)
  • dart format: no changes
  • fvm flutter test: all 25 tests pass

After merging, run the Create Release & Tag workflow to publish 4.0.1.

🤖 Generated with Claude Code

package:flutter/cupertino.dart is deprecated since Flutter 3.47 and costs
10 pub.dev analysis points. SmartAuthResult only needs @immutable, which
comes from package:flutter/foundation.dart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tkko
Tkko merged commit 3f9e0c4 into main Nov 26, 2026
9 checks passed
@Tkko
Tkko deleted the fix/deprecated-cupertino-import branch November 26, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant