Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor based on flutter_lints #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

myConsciousness
Copy link

Hi amazing developer,

This library is already a great completion, but I have noticed that some of the coding does not follow Dart or Flutter standards because it does not use flutter_lints.

Therefore, I have made the following fixes.

  • Added flutter_lints to pubspec.yaml
  • Added analysis_options.yaml
  • Fixed some lines based on flutter_lints suggestions (Not destructive)

Thank you.

@@ -125,13 +125,20 @@ class SideMenu extends StatefulWidget {
bool get inverse => _inverse == -1;

@override
// ignore: no_logic_in_create_state
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

However, this line was the only one I could not refactor in my judgment, so I added a definition that ignores the warning for the moment.

The createState method should not have processing, so the timing for generating each of these States must be adjusted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant