openDialog method
Opens specific dialog based on given type
Be default opens simple pop-up dialog.
Implementation
@override
Future openDialog(builder, {bool root = true, dynamic type}) {
return showDialog(
context: getContext(root: root),
builder: (context) => builder(context),
useRootNavigator: false,
);
}