AccountBasicProvider constructor

const AccountBasicProvider({
  1. Key? key,
  2. AuthenticationBasicBloc? authenticationBasicBloc,
  3. AccountBasicBloc? accountBasicBloc,
  4. required Widget child,
})

Implementation

const AccountBasicProvider({
  Key? key,
  this.authenticationBasicBloc,
  this.accountBasicBloc,
  required this.child,
})  : assert(
        authenticationBasicBloc == null || accountBasicBloc == null,
        "You can just set either 'authenticationBasicBloc' or 'accountBasicBloc' , not both.",
      ),
      super(key: key);