Settings page added

This commit is contained in:
warlock
2022-03-03 06:21:31 +05:30
parent 4576957b4c
commit 7f50983e11
12 changed files with 493 additions and 173 deletions

View File

@@ -0,0 +1,37 @@
import 'package:flutter/material.dart';
class NotificationSettings extends StatefulWidget {
const NotificationSettings({Key? key}) : super(key: key);
@override
_NotificationSettingsState createState() => _NotificationSettingsState();
}
class _NotificationSettingsState extends State<NotificationSettings> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text("Notification Settings")),
body: SafeArea(
child: Column(
children: [
SizedBox(
height: 10,
),
ListTile(
title: Text("New Activity Notification"),
trailing: InkWell(onTap:(){},child: Text("1 hour")),
subtitle: Text("Notify you to track activities of past time"),
),
Divider(),
ListTile(
title: Text("Suggestion Notifications"), trailing:Switch.adaptive(value: true, onChanged: (val){}),
subtitle: Text("Notifies you about suggestions according to your data"),
)
],
),
),
);
}
}