Skip to content

Commit 1af6e18

Browse files
committed
account deletion screen
1 parent 03b115b commit 1af6e18

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

lib/account_deletion_page.dart

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import 'package:commit451/ui/ui_factory.dart';
2+
import 'package:flutter/material.dart';
3+
4+
class AccountDeletionPage extends StatelessWidget {
5+
const AccountDeletionPage({super.key});
6+
7+
@override
8+
Widget build(BuildContext context) {
9+
return Scaffold(
10+
appBar: AppBar(title: const Text('Commit 451 - Account Deletion')),
11+
body: ListView(
12+
padding: const EdgeInsets.all(40.0),
13+
children: [
14+
title("Account Deletion"),
15+
verticalSeparator(),
16+
text(
17+
"Please email us at commit451@gmail.com with the email associated with your account if you would like to delete your account and its associated data. We will do so in a timely manner.",
18+
),
19+
verticalSeparator(),
20+
],
21+
),
22+
);
23+
}
24+
}

lib/app.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'package:commit451/account_deletion_page.dart';
12
import 'package:commit451/home_page.dart';
23
import 'package:commit451/privacy_page.dart';
34
import 'package:commit451/terms_conditions_page.dart';
@@ -23,6 +24,7 @@ class App extends StatelessWidget {
2324
'/': (context) => const HomePage(),
2425
'/privacy': (context) => const PrivacyPage(),
2526
'/terms-conditions': (context) => const TermsConditionsPage(),
27+
'/account-deletion': (context) => const AccountDeletionPage(),
2628
},
2729
);
2830
}

0 commit comments

Comments
 (0)