Skip to content

Migrate deprecated Key? key constructor pattern to super.key #43

@CrowdTypical

Description

@CrowdTypical

Description

All screens and widgets use the old constructor pattern:

const MyWidget({Key? key}) : super(key: key);

Dart 3+ supports the cleaner super.key syntax:

const MyWidget({super.key});

Affected Files

All files in lib/screens/ and lib/widgets/.

Priority

Low — cosmetic, no functional impact. Good for a refactor pass.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions