fixed style

This commit is contained in:
Giulia
2023-09-28 14:45:00 +02:00
committed by Joe Küng
parent 6b3208b855
commit a8074c8701
3 changed files with 25 additions and 12 deletions

View File

@@ -22,12 +22,17 @@ class _InboxViewState extends State<InboxView> {
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<InboxView> {
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(

View File

@@ -17,7 +17,7 @@ class _NotesViewState extends State<NotesView> {
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<NotesView> {
);
},
child: Icon(Icons.add, color: Colors.white,),
backgroundColor: Colors.lightBlue.shade900,
backgroundColor: Colors.cyan.shade700,
),
@@ -40,7 +40,7 @@ class _NotesViewState extends State<NotesView> {
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(

View File

@@ -14,12 +14,20 @@ class TodayView extends StatefulWidget {
class _TodayViewState extends State<TodayView> {
@override
Widget build(BuildContext context) {
return ListView(
children: <Widget>[
return Scaffold(
appBar: AppBar(
title: Text(
'Today',
style: TextStyle(color: Colors.white),
),
backgroundColor: Colors.cyan.shade700,
),
body: Container(
child: ListView(children: <Widget>[
Reminder(),
Reminder(),
]
]),
),
);
}
}