Skip to content

feat: release v2.0.0 — Dart 3, Flutter 3.27 compat, bug fixes, CI/CD#20

Merged
yadaniyil merged 7 commits into
masterfrom
claude/update-flutter-package-5lkBd
Apr 9, 2026
Merged

feat: release v2.0.0 — Dart 3, Flutter 3.27 compat, bug fixes, CI/CD#20
yadaniyil merged 7 commits into
masterfrom
claude/update-flutter-package-5lkBd

Conversation

@yadaniyil

Copy link
Copy Markdown
Contributor

Breaking changes:

  • Remove FlareConfiguration and flare_flutter dep (broken in Flutter 3.27, fixes Flutter 3.27 Issue #17)
  • Require Dart SDK >=3.0.0 <4.0.0
  • Replace textScaleFactor with textScaler in StatusAlertTextConfiguration

New features:

Bug fixes:

Improvements:

  • Replace pedantic with flutter_lints, add analysis_options.yaml (PR fix: migrate from deprecated linter pedantic to new flutter lints #14)
  • Rename status_allert_manager.dart -> status_alert_manager.dart (typo fix)
  • Rename private state class to _StatusAlertBaseWidgetState
  • Remove unused scaleController field, fix null-safe dispose
  • Add GitHub Actions CI workflow (analyze + test on push/PR)
  • Add GitHub Actions publish workflow (pub.dev on version tag)
  • Expand test suite: isVisible, hide(), onComplete, touch pass-through

https://claude.ai/code/session_017nS5t2oQz1X4o359oZiRVS

claude and others added 3 commits April 9, 2026 13:52
Breaking changes:
- Remove FlareConfiguration and flare_flutter dep (broken in Flutter 3.27, fixes #17)
- Require Dart SDK >=3.0.0 <4.0.0
- Replace textScaleFactor with textScaler in StatusAlertTextConfiguration

New features:
- Add onComplete callback to StatusAlert.show() (addresses #19)

Bug fixes:
- Rewrite dismissOnBackgroundTap with OverlayEntry+GestureDetector instead of
  showDialog, eliminating Navigator stack pollution and broken auto-dismiss (#19)
- blurPower parameter now actually applied (was hardcoded to 2.0)
- Touch pass-through (IgnorePointer) verified and cleaned up (#15)

Improvements:
- Replace pedantic with flutter_lints, add analysis_options.yaml (PR #14)
- Rename status_allert_manager.dart -> status_alert_manager.dart (typo fix)
- Rename private state class to _StatusAlertBaseWidgetState
- Remove unused scaleController field, fix null-safe dispose
- Add GitHub Actions CI workflow (analyze + test on push/PR)
- Add GitHub Actions publish workflow (pub.dev on version tag)
- Expand test suite: isVisible, hide(), onComplete, touch pass-through

https://claude.ai/code/session_017nS5t2oQz1X4o359oZiRVS
- Fix ListTile leading: replace rate-limited network image with a
  local colored box + icon (no more HTTP 429 errors)
- Fix Column RenderFlex overflow: replace AspectRatio(1.0) with
  ConstrainedBox(minHeight = width) so the alert box is at least
  square but grows to fit content when title + subtitle + icon
  would otherwise overflow

https://claude.ai/code/session_017nS5t2oQz1X4o359oZiRVS
@yadaniyil yadaniyil self-assigned this Apr 9, 2026
claude added 4 commits April 9, 2026 14:19
- main.dart: add const MyApp({super.key}) (use_key_in_widget_constructors)
- main.dart: runApp(const MyApp()) and home: const StatusAlertScreen() (prefer_const_constructors)
- main.dart: replace deprecated primarySwatch with colorScheme.fromSeed
- status_alert_base_widget.dart: use const Tween<double>(...) (prefer_const_constructors)
- status_alert_manager.dart: remove unused onComplete parameter

https://claude.ai/code/session_017nS5t2oQz1X4o359oZiRVS
- status_alert_base_widget.dart: revert wrong const on Tween (Tween has
  no const constructor — const_with_non_const error)
- lib/status_alert.dart: remove unnecessary library name directive
  (unnecessary_library_name info)
- test/widget_tests.dart: use const StatusAlertBaseWidget in
  WidgetConfiguration test (prefer_const_constructors info)
- analysis_options.yaml: exclude example/** from analyzer to suppress
  invalid_dependency warning on the path: ../ dependency

https://claude.ai/code/session_017nS5t2oQz1X4o359oZiRVS
The Stack layout put both buttons at identical screen coordinates, so
tapping 'Tap me' hit 'Show Alert' (rendered on top) instead. Replace
Stack with Column + Scaffold so the buttons are at separate positions
and the tap lands on the correct target.

https://claude.ai/code/session_017nS5t2oQz1X4o359oZiRVS
@yadaniyil
yadaniyil merged commit 7a2ca78 into master Apr 9, 2026
1 check passed
@yadaniyil
yadaniyil deleted the claude/update-flutter-package-5lkBd branch April 9, 2026 15:14
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.

Flutter 3.27 Issue

2 participants