|
@@ -15,7 +15,6 @@ class ListPage extends StatelessWidget {
|
|
|
toolbarHeight: 44,
|
|
|
title: Text(
|
|
|
date,
|
|
|
- // '${date.hour}:${date.minute}',
|
|
|
style: TextStyle(color: Colors.white, fontSize: 15),
|
|
|
),
|
|
|
actions: [
|
|
@@ -120,7 +119,6 @@ class Data {
|
|
|
}
|
|
|
|
|
|
var date = formatDate(DateTime.now(), [HH, ':', nn]);
|
|
|
-// var date = DateTime.now();
|
|
|
|
|
|
class AvailableMenu extends StatelessWidget {
|
|
|
const AvailableMenu({
|
|
@@ -185,9 +183,10 @@ class IconAdd extends StatelessWidget {
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|
|
|
- return Icon(
|
|
|
- Icons.add_circle,
|
|
|
+ return IconButton(
|
|
|
color: Colors.red,
|
|
|
+ onPressed: () {},
|
|
|
+ icon: Icon(Icons.add_circle),
|
|
|
);
|
|
|
}
|
|
|
}
|
|
@@ -202,12 +201,16 @@ class IconDelete extends StatelessWidget {
|
|
|
return Row(
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
children: [
|
|
|
- Icon(
|
|
|
- Icons.remove_circle,
|
|
|
+ IconButton(
|
|
|
+ icon: Icon(Icons.remove_circle),
|
|
|
color: Colors.red,
|
|
|
+ onPressed: () {},
|
|
|
),
|
|
|
SizedBox(width: 10),
|
|
|
- Icon(Icons.menu),
|
|
|
+ IconButton(
|
|
|
+ onPressed: () {},
|
|
|
+ icon: Icon(Icons.menu),
|
|
|
+ )
|
|
|
],
|
|
|
);
|
|
|
}
|