Retrieves the parameters associated with the current modal route's settings arguments.
Map<String, String> get params { final args = settings?.arguments; if (args is PageSettings) { return args.params; } else { return {}; } }