reveal_on_pull 1.0.0 copy "reveal_on_pull: ^1.0.0" to clipboard
reveal_on_pull: ^1.0.0 copied to clipboard

A package that wraps a scrollable widget and reveals a widget on a pull action.

Stargazers Forks Contributors Issues MIT License
Buy Me A Coffee LinkedIn My Website


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'),
              ),
          ],
        ),
      ),
    ],
  ),
)

๐Ÿงช Example

Check out the example directory for a complete sample app using RevealOnPull.

๐Ÿ“บ Demo Video #

[reveal_on_pull 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.

6
likes
0
points
29
downloads

Publisher

verified publishermanaspratap.com

Weekly Downloads

A package that wraps a scrollable widget and reveals a widget on a pull action.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter

More

Packages that depend on reveal_on_pull