the_popup 0.0.1 copy "the_popup: ^0.0.1" to clipboard
the_popup: ^0.0.1 copied to clipboard

outdated

A package that provides the ability to show popup window at any location.

Introduction #

The the_popup package allows you to easily show a popup on your wrapped widget, And you can easily customize its position wherever you want.

Getting Started #

To use this package, add the_popup as a dependency in your pubspec.yaml file.

dependencies:
  the_popup: ^0.0.1

Alternatively, you can add it to your project by running the following commands in your terminal:

with Dart:

$ dart pub add the_popup

with Flutter:

$ flutter pub add the_popup

Usage #

To show a popup, wrap the widget that you want to display the popup on with the InfoPopupWidget widget. All you have to do is wrap it in the widget you want to show information with the InfoPopupWidget widget. With the InfoPopupController, you can customize it as you wish, and turn it on and off.

import 'package:the_popup/the_popup.dart';
    Popup(
      position: PopupPosition.bottomAlignCenter,
      barrierColor: Colors.black45,
      curve: Curves.fastLinearToSlowEaseIn,
      child: CustomPopup(),
    ).showAsDropDown(_popAnchorKey);

License #

This project is licensed under the MIT License - see the LICENSE file for details.

4
likes
0
points
8
downloads

Publisher

verified publisherwyl.social

Weekly Downloads

A package that provides the ability to show popup window at any location.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on the_popup