show<T> method
Implementation
Future<T?> show<T>() async {
onShow?.call();
if (position == PopupPosition.bottom) {
return await _showAsBottomSheet<T>();
} else if (position == PopupPosition.fullScreen) {
return await _showAsFullScreen<T>();
} else {
return await _showAsDialog<T>();
}
}