Closed
Description
For the below code with SDK main
import 'package:flutter/material.dart';
class MyWidget extends StatelessWidget {
const MyWidget({super.key});
@override
Widget build(BuildContext context) {
throw UnimplementedError();
}
}
Expected behavior
No lint
Actual behavior
Lint at the const
saying: Use key in widget constructors