UAdminAction constructor

UAdminAction({
  1. required String label,
  2. required IconData icon,
  3. required VoidCallback onTap,
  4. List<TagUser>? roles,
  5. bool visible = true,
  6. bool destructive = false,
  7. Color? color,
})

Implementation

UAdminAction({
  required this.label,
  required this.icon,
  required this.onTap,
  this.roles,
  this.visible = true,
  this.destructive = false,
  this.color,
});