Files
TaskTracker/lib/Settings/NotificationSettings.dart
2022-03-03 06:21:31 +05:30

38 lines
1.1 KiB
Dart

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"),
)
],
),
),
);
}
}