SideBar constructor

SideBar({
  1. Key? key,
  2. required List<SideBarButtonFlat> children,
  3. required Color color,
  4. Color accentColor = Colors.white,
  5. Color appColor = Colors.white,
  6. double borderRadius = 35.0,
  7. double elevation = 0.0,
  8. double onHoverScale = 1.0,
  9. required IntCallback onChange,
})

Implementation

SideBar(
    {super.key,
    required this.children,
    required this.color,
    this.logo,
    this.accentColor = Colors.white,
    this.appColor = Colors.white,
    this.borderRadius = 35.0,
    this.elevation = 0.0,
    this.onHoverScale = 1.0,
    required this.onChange});