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

Name #105

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Name #105

Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class MyApp extends StatelessWidget {
return ProviderScope(
child: MaterialApp(
debugShowCheckedModeBanner: false,
title: 'EZ Tickets',
title: 'EZ Tickets APP',
theme: CustomTheme.mainTheme,
initialRoute: AppRouter.initialRoute,
onGenerateRoute: AppRouter.generateRoute,
Expand Down
16 changes: 8 additions & 8 deletions lib/views/screens/register_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {
required String password,
required String fullName,
required String address,
required String contact,
required String PhoneNumber,
}) {
return CustomTextButton.gradient(
width: double.infinity,
Expand All @@ -105,7 +105,7 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {
password: password,
fullName: fullName,
address: address,
contact: contact,
PhoneNumber: PhoneNumber,
);
}
},
Expand Down Expand Up @@ -170,15 +170,15 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {
final cPasswordController = useTextEditingController(text: '');
final fullNameController = useTextEditingController(text: '');
final addressController = useTextEditingController(text: '');
final contactController = useTextEditingController(text: '');
final PhoneNumberController = useTextEditingController(text: '');

void onAuthStateAuthenticated(String? currentUserFullName) {
emailController.clear();
passwordController.clear();
fullNameController.clear();
addressController.clear();
cPasswordController.clear();
contactController.clear();
PhoneNumberController.clear();
_formHasData = false;
AppRouter.popUntilRoot();
}
Expand Down Expand Up @@ -220,7 +220,7 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {
fullNameController: fullNameController,
emailController: emailController,
addressController: addressController,
contactController: contactController,
PhoneNumberController: contactController,
)
else
_PasswordDetailFields(
Expand Down Expand Up @@ -251,7 +251,7 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {
password: passwordController.text,
fullName: fullNameController.text,
address: addressController.text,
contact: contactController.text,
PhoneNumber: PhoneNumber.text,
),
),
)
Expand All @@ -264,15 +264,15 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {

class _UserDetailFields extends StatelessWidget {
final TextEditingController fullNameController;
final TextEditingController contactController;
final TextEditingController PhoneNumberController;
final TextEditingController addressController;
final TextEditingController emailController;

const _UserDetailFields({
required this.fullNameController,
required this.emailController,
required this.addressController,
required this.contactController,
required this.PhoneNumberController,
});

@override
Expand Down
Loading