refactor: Update action item color handling and adjust icon size for improved UI consistency
This commit is contained in:
parent
7dd47ce460
commit
bba44d4d39
@ -160,7 +160,6 @@ class _DailyProgressReportScreenState extends State<DailyProgressReportScreen>
|
|||||||
label: "Filter",
|
label: "Filter",
|
||||||
icon: Icons.tune,
|
icon: Icons.tune,
|
||||||
tooltip: 'Filter Project',
|
tooltip: 'Filter Project',
|
||||||
color: Colors.blueAccent,
|
|
||||||
onTap: _openFilterSheet,
|
onTap: _openFilterSheet,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
@ -181,7 +180,7 @@ class _DailyProgressReportScreenState extends State<DailyProgressReportScreen>
|
|||||||
required IconData icon,
|
required IconData icon,
|
||||||
required String tooltip,
|
required String tooltip,
|
||||||
required VoidCallback onTap,
|
required VoidCallback onTap,
|
||||||
required Color color,
|
Color? color,
|
||||||
}) {
|
}) {
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
@ -189,13 +188,13 @@ class _DailyProgressReportScreenState extends State<DailyProgressReportScreen>
|
|||||||
Tooltip(
|
Tooltip(
|
||||||
message: tooltip,
|
message: tooltip,
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
borderRadius: BorderRadius.circular(24),
|
borderRadius: BorderRadius.circular(22),
|
||||||
onTap: onTap,
|
onTap: onTap,
|
||||||
child: MouseRegion(
|
child: MouseRegion(
|
||||||
cursor: SystemMouseCursors.click,
|
cursor: SystemMouseCursors.click,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(8.0),
|
padding: const EdgeInsets.all(8.0),
|
||||||
child: Icon(icon, color: color, size: 28),
|
child: Icon(icon, color: color, size: 22),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user