Skip to content

Commit

Permalink
added login functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ge59dil committed Nov 24, 2023
1 parent b00cf34 commit 8194338
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/View/internallogin_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class InternalloginScreen extends ConsumerWidget {

@override
Widget build(BuildContext context, WidgetRef ref) {
final TextEditingController usernameController = TextEditingController();
final TextEditingController passwordController = TextEditingController();
return Scaffold(
appBar: AppBar(),
body: SafeArea(
Expand Down Expand Up @@ -128,7 +130,12 @@ class InternalloginScreen extends ConsumerWidget {
'Login',
style: TextStyle(fontSize: 18),
),
onPressed: () {},
onPressed: () => handleBasicLogin(
context,
ref,
usernameController,
passwordController,
),
),
],
),
Expand Down

0 comments on commit 8194338

Please sign in to comment.