settings property

RouteSettings? get settings

Retrieves the route settings associated with the current modal route.

Implementation

RouteSettings? get settings => ModalRoute.of(this)!.settings;