Settings page added
This commit is contained in:
37
lib/Settings/NotificationSettings.dart
Normal file
37
lib/Settings/NotificationSettings.dart
Normal 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"),
|
||||
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user