wyatt_authentication_bloc (0.4.1)

Published 2022-12-13 22:35:05 +00:00 by hugo in Wyatt-FOSS/wyatt-packages

Installation

dart pub add wyatt_authentication_bloc:0.4.1 --hosted-url=

About this package

Authentication BLoC for Flutter

Flutter - Authentication BLoC

Style: Wyatt Analysis SDK: Flutter

Authentication Bloc for Flutter.

Features

  • Wyatt Architecture
  • Entities:
    • Account : AccountModel -> Contains account information from provider
    • AccountWrapper : AccountWrapperModel -> Contains account and extra data.
  • Data Sources:
    • Local:
      • Cached Authentication Data : AuthenticationCacheDataSourceImpl -> Provides a cache implementation
    • Remote:
      • Remote Authentication Data : AuthenticationFirebaseDataSourceImpl -> Provides a proxy to FirebaseAuth
  • Repositories:
    • AuthenticationRepository : AuthenticationRepositoryImpl -> Provides all authentication methods
  • Features:
    • Authentication:
      • AuthenticationBuilder : widget to build reactive view from authentication state
      • AuthenticationCubit : tracks every auth changes, have sign out capability.
    • SignUp:
      • SignUpCubit: implementation of a FormDataCubit from wyatt_form_bloc for the sign up
    • SignIn:
      • SignUpCubit: implementation of a FormDataCubit from wyatt_form_bloc for the sign in
  • Consistent
    • Every class have same naming convention
  • Tested

Getting started

Simply add wyatt_authentication_bloc in pubspec.yaml, then

import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';

Usage

// TODO

Details
Pub
2022-12-13 22:35:05 +00:00
32
91 KiB
Assets (1)
0.4.1.tar.gz 91 KiB
Versions (11) View all
0.5.1+3 2023-10-04
0.5.1+2 2023-08-28
0.5.1+1 2023-08-16
0.5.1 2023-08-09
0.5.0+1 2023-05-06