brix_bloc 1.0.0
brix_bloc: ^1.0.0 copied to clipboard
Cubits for every brix account screen: login, signup, email code, reset, profile and delete account, with immutable states and no Flutter code inside.
1.0.0 #
- Cubits for every brix screen:
BrixLoginCubit,BrixSignupCubit,BrixOtpCubit,BrixForgotPasswordCubit,BrixResetPasswordCubit,BrixChangePasswordCubit,BrixProfileCubit,BrixDeleteAccountCubit,BrixSessionCubit. - They hold no Flutter objects: screens own their text fields and code boxes and send what is typed (
identifierChanged,passwordChanged, ...), as the Bloc docs recommend. - Immutable states with
copyWithandEquatable:BrixLoginState,BrixSignupState,BrixForgotPasswordState,BrixResetPasswordState,BrixChangePasswordState; code screens and profile use brix's ownCodeEntryStateandProfileState. OtpCodeBoxesfor the screen's code boxes.- Example app: the 14 screen app
brix createmakes, on these cubits.
