Remove commented-out action buttons from employee list table

This commit is contained in:
Vaibhav Surve 2025-05-09 10:19:23 +05:30
parent db8a811a63
commit 7281794fcf

View File

@ -186,8 +186,8 @@ class _EmployeeScreenState extends State<EmployeeScreen> with UIMixin {
DataColumn(label: MyText.labelLarge('Name', color: contentTheme.primary)), DataColumn(label: MyText.labelLarge('Name', color: contentTheme.primary)),
DataColumn( DataColumn(
label: MyText.labelLarge('Contact', color: contentTheme.primary)), label: MyText.labelLarge('Contact', color: contentTheme.primary)),
DataColumn( // DataColumn(
label: MyText.labelLarge('Actions', color: contentTheme.primary)), // label: MyText.labelLarge('Actions', color: contentTheme.primary)),
]; ];
final rows = final rows =
@ -217,26 +217,26 @@ class _EmployeeScreenState extends State<EmployeeScreen> with UIMixin {
], ],
), ),
), ),
DataCell( // DataCell(
Row( // Row(
children: [ // children: [
IconButton( // IconButton(
icon: const Icon(Icons.visibility), // icon: const Icon(Icons.visibility),
tooltip: 'View', // tooltip: 'View',
onPressed: () { // onPressed: () {
// View employee action // // View employee action
}, // },
), // ),
IconButton( // IconButton(
icon: const Icon(Icons.edit), // icon: const Icon(Icons.edit),
tooltip: 'Edit', // tooltip: 'Edit',
onPressed: () { // onPressed: () {
// Edit employee action // // Edit employee action
}, // },
), // ),
], // ],
), // ),
), // ),
], ],
); );
}).toList(); }).toList();