This file is intended to be a guide for those interested in contributing to TextStyleEditor
.
Make sure you have Flutter installed and on your path.
Follow these steps to fork TextStyleEditor
and set up the development environment:
-
Fork the project's repository:
https://github.com/mehdizarepour/text-style-editor
-
Clone the forked repository
-
Go into the cloned directory
-
Install all packages:
flutter packages get
If the work you intend to do is non-trivial, it is necessary to open an issue before starting writing your code. This helps us and the community to discuss the issue and choose what is deemed to be the best solution.
You should make your changes upon the dev
branch (All development changes happen in the dev
branch, then I publish a new version and merge them into the master
)
After you have made your changes, you have to make sure your code works correctly and meets our guidelines. Our guidelines are:
You can simply run make checkstyle
, and if you faced any formatting problem, run make format .
.
- It runs
flutter analyze
to verify that there is no any warning or error.
- It runs
flutter format .
to format your code.
Congratulations! Your code meets all of our guidelines 💯. Now you have to submit a pull request (or PR for short) to us. These are the steps you should follow when creating a PR:
-
Make sure you select
dev
branch as your target branch. -
Make a descriptive title that summarizes what changes were in the PR.
-
Link to issues that this PR will fix (if any).
-
Change your code according to feedback (if any).
After you follow the above steps, your PR will hopefully be merged. Thanks for contributing!