flutter_handy_utils 2.1.0
flutter_handy_utils: ^2.1.0 copied to clipboard
The `flutter_handy_utils` package is a community-driven project designed to simplify common tasks in Flutter development
flutter_handy_utils #
The flutter_handy_utils package is a community-driven project designed to simplify common tasks in Flutter development. It offers a wide range of utility functions and extensions that make building Flutter apps more efficient. Below is everything you need to know about using, contributing, and staying involved with the package.
Features #
utils: #
- tree builder: structured parent-child relationships
extensions: #
- widgets separator: useful to separate widgets in a list by adding a gap or divider in between them
Usage #
TreeBuilder: #
creating structured parent-child relationship using the TreeBuilder util.
-
make a list of
TreeInputItem:final list = [ TreeInputItem<T>(id: int, parentId: int, data: <T>) TreeInputItem<T>(id: int, parentId: int, data: <T>) TreeInputItem<T>(id: int, parentId: int, data: <T>) ]; -
create an instance of TreeBuilder with the given type:
final treeBuilder = TreeBuilder<T>(); -
make the structured parent-child relationship using:
final result = treeBuilder.buildTree(list);
the result will be a List<TreeOutPutItem<T>> which contain the parent item and its children.
WidgetsSeparator: #
withDividerInBetween:
listOfWidgets.withDividerInBetween(
color: Colors.red,
height: 20,
thickness: 20,
indent: 20,
endIndent: 20,
);
withGapInBetween:
listOfWidgets.withGapInBetween(gapSize: 20);
Additional information #
About the Author #
Hi there! π I'm Jafar Rezazadeh, a software developer with a deep love for building high-quality, scalable, and efficient solutions in both Dart and Flutter. With a strong background in mobile development, I enjoy contributing to the open-source community and helping other developers with tools and libraries that make their projects more seamless and powerful.
I created this package to offer a set of handy utilities that can simplify everyday development tasks. Whether you're working on a small project or a large-scale application, these tools are designed to make your workflow more efficient and streamlined. My goal is to provide developers with a versatile and easy-to-use toolkit that can be quickly integrated into various projects, helping you focus more on building great features and less on repetitive coding tasks.
Feel free to reach out if you have any questions, suggestions, or just want to connect! You can find Via GitHub - Jafar.Rezazadeh, or mail to jafarrezazadeh76@gmail.com.
π€ How to Contribute: #
Contributions are always welcome! You can get involved in a variety of ways:
- Fork the Repository:
- Start by forking the GitHub repository to your account.
- Create a New Branch:
- Make your improvements, whether it's bug fixes, new features, or enhancing the documentation.
- Submit a Pull Request:
- Once done, submit a PR with a detailed explanation of the changes.
π§ Code Standards:
- Ensure that your code follows the project's coding style and conventions.
- Contributions should be accompanied by unit tests to ensure the stability of the package.
π Filing Issues: #
Encounter a problem or have a suggestion? You can:
- Report Bugs: Head to the GitHub Issues page and provide detailed information, including:
- Your Flutter version
- Steps to reproduce the issue
- Any relevant logs or error messages
- Request New Features: If you have ideas for improvements or new utilities, feel free to submit a feature request via the GitHub Issues page.
π¬ Response from the Package Authors: #
- Issue Response Time: The maintainers strive to respond to issues within a few days. However, complex issues may take longer to resolve.
- Community Involvement: Other contributors may also assist with questions, issues, and pull request reviews.
π Getting More Involved: #
- Join Discussions: If you have general questions, ideas, or want to collaborate, consider participating in GitHub Discussions if available.
By contributing to flutter_handy_utils, you become part of a community dedicated to making Flutter development smoother and more efficient for everyone!