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.
Description
All screens and widgets use the old constructor pattern:
Dart 3+ supports the cleaner
super.keysyntax:Affected Files
All files in
lib/screens/andlib/widgets/.Priority
Low — cosmetic, no functional impact. Good for a refactor pass.