Skip to main content

brix 1.0.1 copy "brix: ^1.0.1" to clipboard
brix: ^1.0.1 copied to clipboard

Ready-made login, signup, email code, password reset and account logic for Flutter apps. Pure Dart, any backend, any state management.

1.0.1 #

  • README: how to use the flows with Riverpod, Bloc, Provider and setState.

1.0.0 #

First public release.

  • Core: Result (Success / Failed), the Failure types with default texts (displayMessage), BrixFlow (immutable state + change stream).
  • Auth: LoginFlow (remember me, double-tap guard, password never trimmed), SignupFlow, OtpVerificationFlow (resend cooldown, failed attempts, change email), ForgotPasswordFlow, ResetPasswordFlow (code or link), PasswordPolicy with PasswordRule labels, maskIdentifier.
  • Account: SessionFlow (app start, logout), ProfileFlow (load, save, avatar), ChangePasswordFlow, DeleteAccountFlow (confirm, password or code).
  • App contracts: AuthProvider, AccountProvider, AuthSessionStore, AuthNavigator, AuthFeedback, AuthCapabilities. Optional methods have default bodies, so later versions do not break your classes.
  • Switch-safe values: AuthWarning, PasswordRule, OtpPurpose are classes with a default text; switch with a default case.
  • Testing: package:brix/testing.dart – FakeAuthProvider, FakeAccountProvider, InMemoryAuthSessionStore, RecordingAuthNavigator, RecordingAuthFeedback.
2
likes
0
points
1.21k
downloads

Publisher

unverified uploader

Weekly Downloads

Ready-made login, signup, email code, password reset and account logic for Flutter apps. Pure Dart, any backend, any state management.

Repository (GitHub)
View/report issues

Topics

#authentication #login #otp #architecture #state-management

License

unknown (license)

Dependencies

meta

More

Packages that depend on brix