AuthRoute.static constructor

AuthRoute.static(
  1. String path,
  2. Widget? widget
)

Creates an AuthRoute with a static widget.

Use this for routes that don't require arguments.

Implementation

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