|
|
3 years ago | |
|---|---|---|
| .. | ||
| example | 3 years ago | |
| lib | 3 years ago | |
| test | 3 years ago | |
| .gitignore | 3 years ago | |
| .metadata | 3 years ago | |
| CHANGELOG.md | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| analysis_options.yaml | 3 years ago | |
| pubspec.yaml | 3 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();
},
);