Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
490ebce
chore: change nullable variables in flutter_user navigator userstory …
freekvandeven Jun 12, 2025
3d08717
feat: change afterLoginScreen to a nullable widget to make screen pus…
freekvandeven Jun 12, 2025
d2a35db
fix: move the RegistrationOptions, ForgotPasswordOptions to the Flutt…
freekvandeven Jun 12, 2025
020a686
chore: improve example app with more configuration for testing
freekvandeven Jun 12, 2025
69baaa8
chore: add dependabot configuration
freekvandeven Jun 12, 2025
e40605d
feat: add rest_user_repository package which implements the UserRepos…
freekvandeven Jun 12, 2025
02f2ad2
fix: remove default color values and refactor the code for the UI
freekvandeven Jun 18, 2025
84ea72b
chore: move auth files to auth folder in registration
freekvandeven Jun 18, 2025
71fc338
feat: make all translations required in the constructor of ForgotPass…
freekvandeven Jun 18, 2025
1c0be94
fix: add apiPrefix to rest_user_repository to allow for anything in t…
freekvandeven Jun 19, 2025
109a0a3
feat: make the endpoints for the Restful User repository configurable
freekvandeven Jun 20, 2025
a1f2f83
fix: rewrite the onFinish for the registration screen to only call th…
freekvandeven Jun 24, 2025
c55516e
chore: mark next release as 7.0.0 because the changes are breaking th…
freekvandeven Jun 24, 2025
a3272f2
feat: change image option for login page to the top
freekvandeven Jul 18, 2025
ce09cdf
fix: correct error screen layout
Quirille Feb 16, 2026
7e1b391
fix: await onTokenReceived
Quirille Mar 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2

updates:
- package-ecosystem: "pub"
directory: "packages/firebase_user_repository"
schedule:
interval: "weekly"

- package-ecosystem: "pub"
directory: "packages/flutter_user"
schedule:
interval: "weekly"

- package-ecosystem: "pub"
directory: "packages/rest_user_repository"
schedule:
interval: "weekly"

- package-ecosystem: "pub"
directory: "packages/user_repository_interface"
schedule:
interval: "weekly"
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 7.0.0
- Fixed a bug with registration errors still triggering the success callback.
- Made all translations required in the constructor of ForgotPasswordTranslations and LoginTranslations.
- Removed the default values for colors in the LoginOptions, RegistrationOptions, and ForgotPasswordOptions.
- Added rest_user_repository package which is a REST implementation of the UserRepositoryInterface.
- Changed afterLoginScreen to a nullable Widget so a screen isn't automatically pushed after login.
- Moved the RegistrationOptions and ForgotPasswordOptions to the FlutterUserOptions.
- Changed the image option for the Login page to the top of the screen.

## 6.4.0

- Added proper use of exceptions for all auth methods.
Expand Down
4 changes: 2 additions & 2 deletions packages/firebase_user_repository/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: firebase_user_repository
description: "firebase_user_repository for flutter_user package"
version: 6.4.0
version: 7.0.0
repository: https://github.com/Iconica-Development/flutter_user

publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
Expand All @@ -14,7 +14,7 @@ dependencies:
sdk: flutter
user_repository_interface:
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub/
version: ^6.4.0
version: ^7.0.0
cloud_firestore: ^5.4.2
firebase_auth: ^5.3.0

Expand Down
32 changes: 22 additions & 10 deletions packages/flutter_user/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,29 @@ class MyApp extends StatelessWidget {
Widget build(BuildContext context) => MaterialApp(
title: "flutter_user Example",
theme: theme,
home: FlutterUserNavigatorUserstory(
afterLoginScreen: const Home(),
options: FlutterUserOptions(
loginOptions: const LoginOptions(
biometricsOptions: LoginBiometricsOptions(
loginWithBiometrics: true,
),
home: const UserstoryScreen(),
);
}

class UserstoryScreen extends StatelessWidget {
const UserstoryScreen({super.key});

@override
Widget build(BuildContext context) => FlutterUserNavigatorUserstory(
afterLoginScreen: const Home(),
options: FlutterUserOptions(
loginOptions: const LoginOptions(
biometricsOptions: LoginBiometricsOptions(
loginWithBiometrics: true,
),
translations: LoginTranslations.empty(
loginTitle: "Login",
loginButton: "Log in",
loginSubtitle: "Welcome back!",
),
),
forgotPasswordOptions: const ForgotPasswordOptions(),
registrationOptions: RegistrationOptions(),
),
);
}
Expand All @@ -39,9 +53,7 @@ class Home extends StatelessWidget {
onPressed: () async => Navigator.pushReplacement(
context,
MaterialPageRoute(
builder: (context) => const FlutterUserNavigatorUserstory(
afterLoginScreen: Home(),
),
builder: (context) => const UserstoryScreen(),
),
),
child: const Text("Logout"),
Expand Down
14 changes: 7 additions & 7 deletions packages/flutter_user/lib/flutter_user.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ export "src/models/image_picker_theme.dart";
export "src/models/login/login_options.dart";
export "src/models/login/login_spacer_options.dart";
export "src/models/login/login_translations.dart";
export "src/models/registration/auth_action.dart";
export "src/models/registration/auth_bool_field.dart";
export "src/models/registration/auth_drop_down.dart";
export "src/models/registration/auth_field.dart";
export "src/models/registration/auth_pass_field.dart";
export "src/models/registration/auth_step.dart";
export "src/models/registration/auth_text_field.dart";
export "src/models/registration/auth/auth_action.dart";
export "src/models/registration/auth/auth_bool_field.dart";
export "src/models/registration/auth/auth_drop_down.dart";
export "src/models/registration/auth/auth_field.dart";
export "src/models/registration/auth/auth_pass_field.dart";
export "src/models/registration/auth/auth_step.dart";
export "src/models/registration/auth/auth_text_field.dart";
export "src/models/registration/registration_options.dart";
export "src/models/registration/registration_spacer_options.dart";
export "src/models/registration/registration_translations.dart";
Expand Down
Loading