mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() *Use `super.key` instead of manually passing the `Key` parameter using super(key: key) in the constructors.* Since if you create a widget the new default will use `super.key` instead of `Key? key : super(key: key)` this small change is to maintain the consistency, it has no semantic change also there are some other places that might need to be updated:  this file for example generate l10n project and it has all the dart code as String, it might have tests that validate the output somewhere that I might miss, also there are some other places like the `_Segment` class where it require `ValueKey` instead if `Key` so I didn't update them (even though it's possible) |
||
---|---|---|
.. | ||
custom_scroll_view.1.dart | ||
grid_view.0.dart | ||
list_view.0.dart | ||
list_view.1.dart |