openDialog method
Opens specific dialog based on given type
Be default opens simple pop-up dialog.
Implementation
@override
Future<dynamic> openDialog(WidgetBuilder builder,
{bool root = true, dynamic type}) =>
navigator.openDialog(builder, root: root, type: type);