|
2 years ago | |
---|---|---|
.. | ||
example | 2 years ago | |
lib | 2 years ago | |
test | 2 years ago | |
.gitignore | 2 years ago | |
.metadata | 2 years ago | |
CHANGELOG.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
analysis_options.yaml | 2 years ago | |
pubspec.yaml | 2 years ago |
A Popover can be used to display some content on top of another.
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.
Popover(
triggerActions: PopoverTriggerActionFlags.click,
child: TextButton(child: Text("Popover"), onPressed: () {}),
popupBuilder(BuildContext context) {
return PopoverMenu();
},
);