Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
e430a69a
Commit
e430a69a
authored
Sep 27, 2022
by
Ade Fikriatul Ilmi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/qorridi/medapp_eksad
parents
799c82c4
b0fc2c8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
firebase_auth_methods.dart
lib/firebase/firebase_auth_methods.dart
+1
-1
register.dart
lib/register.dart
+16
-8
No files found.
lib/firebase/firebase_auth_methods.dart
View file @
e430a69a
...
@@ -31,7 +31,7 @@ class FirebaseAuthMethods {
...
@@ -31,7 +31,7 @@ class FirebaseAuthMethods {
required
String
addressRS
,
required
String
addressRS
,
required
String
namePIC
,
required
String
namePIC
,
required
String
phonePIC
,
required
String
phonePIC
,
required
String
addressPIC
,
//
required String addressPIC,
required
String
email
,
required
String
email
,
required
String
password
,
required
String
password
,
required
BuildContext
context
,
required
BuildContext
context
,
...
...
lib/register.dart
View file @
e430a69a
...
@@ -27,24 +27,32 @@ class _RegisterState extends State<Register> {
...
@@ -27,24 +27,32 @@ class _RegisterState extends State<Register> {
final
passwordController
=
TextEditingController
();
final
passwordController
=
TextEditingController
();
void
signUpUser
()
async
{
void
signUpUser
()
async
{
signUp
(
nameRSController
.
value
.
text
,
phoneRSController
.
value
.
text
,
addressRSController
.
value
.
text
,
namePICController
.
value
.
text
,
phonePICController
.
value
.
text
,
emailPICController
.
value
.
text
,
passwordController
.
value
.
text
);
context
.
read
<
FirebaseAuthMethods
>().
signUpWithEmail
(
context
.
read
<
FirebaseAuthMethods
>().
signUpWithEmail
(
nameRS:
nameRSController
.
text
,
nameRS:
nameRSController
.
text
,
phoneRS:
phoneRSController
.
text
,
phoneRS:
phoneRSController
.
text
,
addressRS:
addressRSController
.
text
,
addressRS:
addressRSController
.
text
,
namePIC:
namePICController
.
text
,
namePIC:
namePICController
.
text
,
phonePIC:
phonePICController
.
text
,
phonePIC:
phonePICController
.
text
,
addressPIC:
addressPICController
.
text
,
//
addressPIC: addressPICController.text,
email:
emailPICController
.
text
,
email:
emailPICController
.
text
,
password:
passwordController
.
text
,
password:
passwordController
.
text
,
context:
context
,
context:
context
,
);
);
signUp
(
nameRSController
.
value
.
text
,
//
signUp( nameRSController.value.text,
phoneRSController
.
value
.
text
,
//
phoneRSController.value.text,
addressRSController
.
value
.
text
,
//
addressRSController.value.text,
namePICController
.
value
.
text
,
//
namePICController.value.text,
phonePICController
.
value
.
text
,
//
phonePICController.value.text,
emailPICController
.
value
.
text
,
//
emailPICController.value.text,
passwordController
.
value
.
text
);
//
passwordController.value.text);
}
}
@override
@override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment