SideBarButton constructor

SideBarButton({
  1. Key? key,
  2. required String title,
  3. required IconData icon,
  4. required bool pressed,
  5. required int index,
  6. required Color accentColor,
  7. required Color appColor,
  8. required Color color,
  9. required double onHoverScale,
  10. required IntCallback updateValue,
})

Implementation

SideBarButton(
    {super.key,
    required this.title,
    required this.icon,
    required this.pressed,
    required this.index,
    required this.accentColor,
    required this.appColor,
    required this.color,
    required this.onHoverScale,
    required this.updateValue});