extended/popup_options library

Enums

PopupFromStyle
弹窗进入方向属性

Functions

closePopup([dynamic value]) Future<bool>
关闭弹窗 也可以通过 Navigator.of(context).maybePop()
showMenuPopup<T>({required RelativeRect position, required List<PopupMenuEntry<T>> items, T? initialValue, double? elevation, String? semanticLabel, ShapeBorder? shape, Color? color, bool useRootNavigator = false}) Future<T?>
showSnackBar(SnackBar snackBar) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>?