AuthRoute.builder constructor

AuthRoute.builder(
  1. String path,
  2. Widget builder(
    1. BuildContext context,
    2. Object? arguments
    )?
)

Creates an AuthRoute with a dynamic builder.

Use this when the route needs to read arguments from navigation settings.

Implementation

AuthRoute.builder(this.path, this.builder)
    : widget = null;