-
-
Notifications
You must be signed in to change notification settings - Fork 896
Contributing
Matthew Whitaker edited this page Mar 12, 2025
·
5 revisions
Thanks for your interest in contributing to flutter_html
!
Please adhere to the following guidelines when contributing:
- For new features, please don't submit a pull request without describing the enhancement you are adding in an Issue report first. I often will give feedback on these Issue reports and I don't want you to have to do a whole bunch of work for nothing if the feature isn't one we plan on supporting.
- For bug fixes, please reference the Issue report where the bug is described. If it doesn't exist, please create one before filing the pull request.
- Please read through the wiki before contributing. This ensures you have a solid understanding of how the package works.
flutter_html
strives to be as lightweight as possible, while maintaining a select few official extensions, including first-party extension packages (e.g. flutter_html_svg
, flutter_html_iframe
, etc.) and built-in convenience extensions (e.g. TagMatcherExtension
, OnImageTapExtension
, etc.). We may occasionally adopt additional official extensions. Here are the requirements any official extension will need to meet in order to be considered for adoption:
- Does the extension add functionality supported by major browsers today, but not supported by
flutter_html
? If no, consider releasing as a third-party extension package. - Does the extension depend on a third-party package?
If no, consider submitting to the core
flutter_html
library as a built-inHtmlExtension
. - Is the extension generally helpful and useable? If no, consider releasing as a third-party extension package.
- Is the extension of high quality? If no, consider adding tests and documentation to improve the quality of the package.
Additionally, code adopted into the official flutter_html
packages will need to be MIT-licensed and use only permissively-licensed dependencies.