AuthProvider<T extends Auth<AuthKeys>> constructor

AuthProvider<T extends Auth<AuthKeys>>({
  1. Key? key,
  2. bool initialCheck = false,
  3. required AuthController<T> controller,
  4. 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;
}