import 'package:flutter/material.dart'; class NotificationSettings extends StatefulWidget { const NotificationSettings({Key? key}) : super(key: key); @override _NotificationSettingsState createState() => _NotificationSettingsState(); } class _NotificationSettingsState extends State { @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"), ) ], ), ), ); } }