We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it's possible to create custom linter rule in flutter.
Could be great to have a linter to avoid coding : SizedBox(width:10) instead of Gap(10) SizedBox(height:10) instead of Gap(10)
The text was updated successfully, but these errors were encountered:
I suggest to do sth with use_design_system_item of https://pub.dev/packages/leancode_lint for a quick solution.
Here is a sample:
custom_lint: rules: - use_design_system_item: Gap: - instead_of: SizedBox from_package: flutter
Sorry, something went wrong.
That will ban completely SizedBox which is not good. My proposal is more for SizedBox without any child.
No branches or pull requests
I think it's possible to create custom linter rule in flutter.
Could be great to have a linter to avoid coding :
SizedBox(width:10) instead of Gap(10)
SizedBox(height:10) instead of Gap(10)
The text was updated successfully, but these errors were encountered: