Skip to main content

brix_bloc 1.0.0 copy "brix_bloc: ^1.0.0" to clipboard
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 copyWith and Equatable: BrixLoginState, BrixSignupState, BrixForgotPasswordState, BrixResetPasswordState, BrixChangePasswordState; code screens and profile use brix's own CodeEntryState and ProfileState.
  • OtpCodeBoxes for the screen's code boxes.
  • Example app: the 14 screen app brix create makes, on these cubits.
0
likes
160
points
43
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cubits for every brix account screen: login, signup, email code, reset, profile and delete account, with immutable states and no Flutter code inside.

Repository (GitHub)
View/report issues

Topics

#bloc #authentication #login #otp #state-management

License

MIT (license)

Dependencies

bloc, brix, equatable, flutter

More

Packages that depend on brix_bloc