AuthProvider<T extends Auth<AuthKeys> > constructor
AuthProvider<T extends Auth<AuthKeys> > ({
- Key? key,
- bool initialCheck = false,
- required AuthController<
T> controller, - required Widget child,
Implementation
AuthProvider({
super.key,
this.initialCheck = false,
required this.controller,
required Widget child,
}) : super(
child: _Support<T>(
controller: controller,
initialCheck: initialCheck,
child: child,
),
) {
type = T;
}