AdvancedRouteSettings.fromSettings constructor

AdvancedRouteSettings.fromSettings(
  1. {RouteSettings? other,
  2. String? nameOverride,
  3. Type? widgetType,
  4. String? title}
)

Creates data used to construct routes.

Implementation

AdvancedRouteSettings.fromSettings({
  RouteSettings? other,
  String? nameOverride,
  this.widgetType,
  this.title,
}) : super(
          name: _calculateRouteName(
              title: title,
              routeName: nameOverride ?? other?.name,
              widgetType: widgetType),
//            isInitialRoute: other?.isInitialRoute ?? false,
          arguments: other?.arguments);