settings property

RouteSettings? get settings

Retrieves the route settings associated with the current modal route.

Implementation

RouteSettings? get settings {
  return ModalRoute.of(this)!.settings;
}