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
07033f1f
Commit
07033f1f
authored
Sep 27, 2022
by
Tohap Maruli Pasaribu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://103.44.149.204/qorridi/medapp_eksad
into develop
parents
afdcae7d
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 @
07033f1f
...
...
@@ -31,7 +31,7 @@ class FirebaseAuthMethods {
required
String
addressRS
,
required
String
namePIC
,
required
String
phonePIC
,
required
String
addressPIC
,
//
required String addressPIC,
required
String
email
,
required
String
password
,
required
BuildContext
context
,
...
...
lib/register.dart
View file @
07033f1f
...
...
@@ -27,24 +27,32 @@ class _RegisterState extends State<Register> {
final
passwordController
=
TextEditingController
();
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
(
nameRS:
nameRSController
.
text
,
phoneRS:
phoneRSController
.
text
,
addressRS:
addressRSController
.
text
,
namePIC:
namePICController
.
text
,
phonePIC:
phonePICController
.
text
,
addressPIC:
addressPICController
.
text
,
//
addressPIC: addressPICController.text,
email:
emailPICController
.
text
,
password:
passwordController
.
text
,
context:
context
,
);
signUp
(
nameRSController
.
value
.
text
,
phoneRSController
.
value
.
text
,
addressRSController
.
value
.
text
,
namePICController
.
value
.
text
,
phonePICController
.
value
.
text
,
emailPICController
.
value
.
text
,
passwordController
.
value
.
text
);
//
signUp( nameRSController.value.text,
//
phoneRSController.value.text,
//
addressRSController.value.text,
//
namePICController.value.text,
//
phonePICController.value.text,
//
emailPICController.value.text,
//
passwordController.value.text);
}
@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