From a8074c8701545c290a70f996a6924626543a0bf3 Mon Sep 17 00:00:00 2001 From: Giulia Date: Thu, 28 Sep 2023 14:45:00 +0200 Subject: [PATCH] fixed style --- lib/pages/InboxView.dart | 11 ++++++++--- lib/pages/NotesView.dart | 6 +++--- lib/pages/TodayView.dart | 20 ++++++++++++++------ 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/lib/pages/InboxView.dart b/lib/pages/InboxView.dart index f95cfcf..98c083e 100644 --- a/lib/pages/InboxView.dart +++ b/lib/pages/InboxView.dart @@ -22,12 +22,17 @@ class _InboxViewState extends State { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - title: const Text('Inbox'), + title: Text( + 'Inbox', + style: TextStyle(color: Colors.white), + ), + backgroundColor: Colors.cyan.shade700, ), floatingActionButton: FloatingActionButton( onPressed: () { }, - child: Icon(Icons.add), + child: Icon(Icons.add, color: Colors.white), + backgroundColor: Colors.cyan.shade700, ), body: Container( child: ListView.builder( @@ -40,7 +45,7 @@ class _InboxViewState extends State { value: _values[index], onChanged: (newValue) => _onChanged(index, newValue), ), - title: Text("ciao", style: TextStyle(color: Colors.lightBlue.shade900, fontWeight: FontWeight.bold)), + title: Text("ciao", style: TextStyle(color: Colors.cyan.shade700, fontWeight: FontWeight.bold)), subtitle: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [Text('Descrizione della nota:')]), onTap: () { Navigator.of(context).push( diff --git a/lib/pages/NotesView.dart b/lib/pages/NotesView.dart index 86595ab..053b5eb 100644 --- a/lib/pages/NotesView.dart +++ b/lib/pages/NotesView.dart @@ -17,7 +17,7 @@ class _NotesViewState extends State { return Scaffold( appBar: AppBar( title: Text('Note', style: TextStyle(color: Colors.white),), - backgroundColor: Colors.lightBlue.shade900, + backgroundColor: Colors.cyan.shade700, ), floatingActionButton: FloatingActionButton( onPressed: () { @@ -28,7 +28,7 @@ class _NotesViewState extends State { ); }, child: Icon(Icons.add, color: Colors.white,), - backgroundColor: Colors.lightBlue.shade900, + backgroundColor: Colors.cyan.shade700, ), @@ -40,7 +40,7 @@ class _NotesViewState extends State { color: Colors.white, child: ListTile( - title: Text("ciao", style: TextStyle(color: Colors.lightBlue.shade900, fontWeight: FontWeight.bold),), + title: Text("ciao", style: TextStyle(color: Colors.cyan.shade700, fontWeight: FontWeight.bold),), subtitle: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [Text('Descrizione della nota:'),],), onTap: () { Navigator.of(context).push( diff --git a/lib/pages/TodayView.dart b/lib/pages/TodayView.dart index 1844bfc..e522032 100644 --- a/lib/pages/TodayView.dart +++ b/lib/pages/TodayView.dart @@ -14,12 +14,20 @@ class TodayView extends StatefulWidget { class _TodayViewState extends State { @override Widget build(BuildContext context) { - - return ListView( - children: [ - Reminder(), - Reminder(), - ] + return Scaffold( + appBar: AppBar( + title: Text( + 'Today', + style: TextStyle(color: Colors.white), + ), + backgroundColor: Colors.cyan.shade700, + ), + body: Container( + child: ListView(children: [ + Reminder(), + Reminder(), + ]), + ), ); } }