show method

Future show(
  1. BuildContext context,
  2. Widget widget
)

Implementation

Future show(BuildContext context, Widget widget) {
  return showDialog(
			context: context,
			barrierColor: Colors.black87,
			builder: (BuildContext context) => widget
		);
}