AppFlowy/frontend/app_flowy/packages/appflowy_popover
2022-09-01 15:28:16 +08:00
..
example fix: example of popover 2022-09-01 15:28:16 +08:00
lib fix: example of popover 2022-09-01 15:28:16 +08:00
test refactor: rename popover 2022-08-30 12:53:51 +08:00
.gitignore feat: add popover package 2022-08-29 13:56:16 +08:00
.metadata feat: add popover package 2022-08-29 13:56:16 +08:00
analysis_options.yaml feat: add popover package 2022-08-29 13:56:16 +08:00
CHANGELOG.md feat: add popover package 2022-08-29 13:56:16 +08:00
LICENSE feat: add popover package 2022-08-29 13:56:16 +08:00
pubspec.yaml feat: add popover package 2022-08-29 13:56:16 +08:00
README.md fix: example of popover 2022-09-01 15:28:16 +08:00

AppFlowy Popover

TODO: Put a short description of the package here that helps potential users know whether this package might be useful for them.

Features

A popover is a transient view that appears above other content onscreen when you tap a control or in an area. Typically, a popover includes an arrow pointing to the location from which it emerged. Popovers can be nonmodal or modal. A nonmodal popover is dismissed by tapping another part of the screen or a button on the popover. A modal popover is dismissed by tapping a Cancel or other button on the popover.

Source: Human Interface Guidelines.

  • Basic popover style
  • Nested popover support
  • Exclusive popover API

Example

Popover(
  triggerActions: PopoverTriggerActionFlags.click,
  child: TextButton(child: Text("Popover"), onPressed: () {}),
  popupBuilder(BuildContext context) {
    return PopoverMenu();
  },
);