Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3-feature-add-auth-view #18

Merged
merged 5 commits into from
Sep 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
add register page
  • Loading branch information
BorisGautier committed Sep 3, 2022
commit 259615ac14cfe364e783c1f8bb95b6a62fd9b192
2 changes: 0 additions & 2 deletions .github/workflows/position.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: "Position"

on:
push:
paths:
- .github/workflows/position.yml
branches: ["main", "dev"]

# on: push # Default will running for every branch.
Expand Down
1 change: 1 addition & 0 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Login successful"),
"logout": MessageLookupByLibrary.simpleMessage("Logout"),
"myAdress": MessageLookupByLibrary.simpleMessage("My Adress"),
"name": MessageLookupByLibrary.simpleMessage("Full name"),
"next": MessageLookupByLibrary.simpleMessage("Next"),
"noAccount": MessageLookupByLibrary.simpleMessage("No Account yet? "),
"noData": MessageLookupByLibrary.simpleMessage("No data found"),
Expand Down
1 change: 1 addition & 0 deletions lib/generated/intl/messages_fr.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class MessageLookup extends MessageLookupByLibrary {
MessageLookupByLibrary.simpleMessage("Connexion reussie"),
"logout": MessageLookupByLibrary.simpleMessage("Deconnexion"),
"myAdress": MessageLookupByLibrary.simpleMessage("Mon Adresse"),
"name": MessageLookupByLibrary.simpleMessage("Nom Complet"),
"next": MessageLookupByLibrary.simpleMessage("Suivant"),
"noAccount":
MessageLookupByLibrary.simpleMessage("Pas encore de Compte? "),
Expand Down
10 changes: 10 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@
"identifiant": "Login",
"selectLanguage": "Select a language",
"french": "French",
"english": "English"
"english": "English",
"name": "Full name"
}
3 changes: 2 additions & 1 deletion lib/l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@
"identifiant": "Identifiant",
"selectLanguage": "Selectionnez une langue",
"french": "Français",
"english": "Anglais"
"english": "Anglais",
"name": "Nom Complet"
}
3 changes: 2 additions & 1 deletion lib/src/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:position/generated/l10n.dart';
import 'package:position/src/core/app/bloc/app_bloc.dart';
import 'package:position/src/modules/auth/views/login.dart';
import 'package:position/src/modules/auth/views/register.dart';
import 'package:position/src/modules/gps/views/loading.dart';

class MyApp extends StatelessWidget {
Expand All @@ -27,7 +28,7 @@ class MyApp extends StatelessWidget {
locale: state.locale,
supportedLocales: S.delegate.supportedLocales,
debugShowCheckedModeBanner: false,
home: const LoginPage(),
home: const RegisterPage(),
);
},
),
Expand Down
15 changes: 15 additions & 0 deletions lib/src/modules/auth/views/forgotpassword.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import 'package:flutter/material.dart';

class ForgotPassword extends StatefulWidget {
const ForgotPassword({super.key});

@override
State<ForgotPassword> createState() => _ForgotPasswordState();
}

class _ForgotPasswordState extends State<ForgotPassword> {
@override
Widget build(BuildContext context) {
return Container();
}
}
1 change: 0 additions & 1 deletion lib/src/modules/auth/views/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class _LoginPageState extends State<LoginPage> {
children: [
Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
decoration: const BoxDecoration(color: whiteColor),
child: Column(
children: [
Expand Down
Loading