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

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.3

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 #

import 'package:the_popup/the_popup.dart';

Example #

    Popup(
      position: PopupPosition.bottomAlignCenter,
      barrierColor: Colors.black45,
      curve: Curves.fastLinearToSlowEaseIn,
      child: CustomPopup(),
    ).showAsDropDown(anchorKey);

License #

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

2
likes
120
pub points
56%
popularity

Publisher

verified publisherwyl.social

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on the_popup