reveal_on_pull

Creator: coderz1093

Last updated:

0 purchases

reveal_on_pull Image
reveal_on_pull Images
Add to Cart

Description:

reveal on pull

RevealOnPull

๐Ÿ“– Table of Contents

Features
Installation
Usage
Example
Contributing
License

โœจ Features
Easily reveal a hidden widget on pull down.
Customizable reveal behavior and animations.
Smooth and responsive user experience.
Compatible with both iOS and Android.
๐Ÿ“ฆ Installation
Add the following to your pubspec.yaml file:
yaml
Copy code
dependencies:
reveal_on_pull: ^1.0.0
Then, run flutter pub get to install the package.
๐Ÿš€ Usage
To use this package, wrap your widget tree with RevealOnPull and specify the widget to be revealed.
RevealOnPull(
scrollController: scrollController,
animationDuration: const Duration(milliseconds: 500),
widgetToRevealHeight: widgetToRevealHeight,
widgetToReveal: Container(
height: widgetToRevealHeight,
width: MediaQuery.of(context).size.width,
color: Colors.red,
),
scrollableChild: CustomScrollView(
controller: scrollController,
physics: const ClampingScrollPhysics(),
slivers: [
SliverList(
delegate: SliverChildListDelegate(
[
for (var index = 0; index < 100; index++)
Container(
height: 100,
decoration: BoxDecoration(
border: Border.all(width: 0.1),
),
alignment: Alignment.center,
child: Text('$index'),
),
],
),
),
],
),
)
copied to clipboard
๐Ÿงช Example
Check out the example directory for a complete sample app using RevealOnPull.
๐Ÿ“บ Demo

๐Ÿค Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.
Steps to Contribute:

Fork the repository.
Create a new branch: git checkout -b my-feature-branch.
Make your changes and commit: git commit -m 'Add some feature'.
Push to the branch: git push origin my-feature-branch.
Open a pull request.

๐Ÿ“„ License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for more details.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.

Related Products

More From This Creator