onPreCreate method

  1. @override
void onPreCreate(
  1. BuildContext context,
  2. String routeName,
  3. Map<String, dynamic> arguments
)
override

Implementation

@override
void onPreCreate(BuildContext context, String routeName, Map<String, dynamic> arguments) {
  _model = createModel;
  _model.setArguments(arguments);
  _model.onPreCreate(context, arguments);
  super.onPreCreate(context, routeName, arguments);
}