-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guidezpl can you please update code segments once this is ready to be merged?
@@ -27,3 +27,4 @@ linter: | |||
- unawaited_futures | |||
- unnecessary_statements | |||
- unsafe_html | |||
- use_super_parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should I add this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, since it's not part of flutter_lints
import 'package:gallery/demos/material/material_demo_types.dart'; | ||
|
||
class DividerDemo extends StatelessWidget { | ||
const DividerDemo({super.key, required this.type}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CRLF issue, this is the only change in this file. or should I revert the change in this file to try again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine.
@@ -192,10 +188,7 @@ class _SectionedMenuDemo extends StatelessWidget { | |||
// a menu whose current value is highlighted and aligned over the | |||
// list item's center line. | |||
class _SimpleMenuDemo extends StatefulWidget { | |||
const _SimpleMenuDemo({ | |||
Key? key, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has been removed from private classes which were not providing keys, due to unused element lint. Although they are actually not being used, I am not sure if this is the style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, this is fine then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank for the pull request.
You can update the code segments with
flutter pub get
flutter pub run grinder update-code-segments
@@ -27,3 +27,4 @@ linter: | |||
- unawaited_futures | |||
- unnecessary_statements | |||
- unsafe_html | |||
- use_super_parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, since it's not part of flutter_lints
import 'package:gallery/demos/material/material_demo_types.dart'; | ||
|
||
class DividerDemo extends StatelessWidget { | ||
const DividerDemo({super.key, required this.type}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine.
@@ -192,10 +188,7 @@ class _SectionedMenuDemo extends StatelessWidget { | |||
// a menu whose current value is highlighted and aligned over the | |||
// list item's center line. | |||
class _SimpleMenuDemo extends StatefulWidget { | |||
const _SimpleMenuDemo({ | |||
Key? key, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, this is fine then.
Unlike #608 (comment) code viewer worked perfectly fine this time. |
Use super parameters
fixes #631
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.