fixed style

This commit is contained in:
Giulia
2023-09-28 14:45:00 +02:00
parent b284a3d6d6
commit 6d9eb5f4db
4 changed files with 25 additions and 14 deletions

View File

@@ -1,5 +1,3 @@
import 'dart:ffi';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'pages/testUI.dart'; import 'pages/testUI.dart';
import 'pages/TodayView.dart'; import 'pages/TodayView.dart';

View File

@@ -22,12 +22,17 @@ class _InboxViewState extends State<InboxView> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text('Inbox'), title: Text(
'Inbox',
style: TextStyle(color: Colors.white),
),
backgroundColor: Colors.cyan.shade700,
), ),
floatingActionButton: FloatingActionButton( floatingActionButton: FloatingActionButton(
onPressed: () { onPressed: () {
}, },
child: Icon(Icons.add), child: Icon(Icons.add, color: Colors.white),
backgroundColor: Colors.cyan.shade700,
), ),
body: Container( body: Container(
child: ListView.builder( child: ListView.builder(
@@ -40,7 +45,7 @@ class _InboxViewState extends State<InboxView> {
value: _values[index], value: _values[index],
onChanged: (newValue) => _onChanged(index, newValue), 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:')]), subtitle: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [Text('Descrizione della nota:')]),
onTap: () { onTap: () {
Navigator.of(context).push( Navigator.of(context).push(

View File

@@ -17,7 +17,7 @@ class _NotesViewState extends State<NotesView> {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text('Note', style: TextStyle(color: Colors.white),), title: Text('Note', style: TextStyle(color: Colors.white),),
backgroundColor: Colors.lightBlue.shade900, backgroundColor: Colors.cyan.shade700,
), ),
floatingActionButton: FloatingActionButton( floatingActionButton: FloatingActionButton(
onPressed: () { onPressed: () {
@@ -28,7 +28,7 @@ class _NotesViewState extends State<NotesView> {
); );
}, },
child: Icon(Icons.add, color: Colors.white,), 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, color: Colors.white,
child: ListTile( 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:'),],), subtitle: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [Text('Descrizione della nota:'),],),
onTap: () { onTap: () {
Navigator.of(context).push( Navigator.of(context).push(

View File

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