Skip to content

Add Dart 3 and current Flutter compatibility #58

Description

@RockerFlower

Context

The package still declares sdk: >=2.12.0 <3.0.0. The first maintenance PR intentionally keeps that constraint unchanged to avoid a breaking compatibility jump.

Goal

Evaluate and add support for Dart 3 and current stable Flutter without breaking existing users on the supported Dart 2 line unless a release plan explicitly accepts that change.

Suggested scope

  • Decide the minimum Dart and Flutter versions for the next release.
  • Run the package and example against a current stable Flutter SDK.
  • Update pubspec.yaml SDK constraints only after compatibility is verified.
  • Refresh lockfiles with the chosen SDK.
  • Add CI coverage for the current stable Flutter version, possibly as a matrix alongside Flutter 3.7.
  • Document any required migration notes.

Acceptance criteria

  • flutter analyze passes on the selected SDK matrix.
  • flutter test passes on the selected SDK matrix.
  • flutter pub publish --dry-run passes.
  • README or CHANGELOG explains the supported SDK range.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions