PanelySidebarTheme constructor

const PanelySidebarTheme({
  1. Color backgroundColor = const Color(0xFF131314),
  2. Color menuItemBackgroundColor = const Color(0xff00000000),
  3. Color disabledMenuItemBackgroundColor = const Color(0xFF757575),
  4. Color activedMenuItemBackgroundColor = const Color(0xFF2d2d31),
  5. TextStyle menuItemTextStyle = const TextStyle(fontFamily: "Poppins", fontSize: 14, color: Colors.grey),
  6. TextStyle activeMenuItemTextStyle = const TextStyle(fontFamily: "Poppins", fontSize: 14, color: Colors.white),
  7. TextStyle disabledMenuItemTextStyle = const TextStyle(fontFamily: "Poppins", fontSize: 14, color: Color(0xFF424242)),
})

Implementation

const PanelySidebarTheme({
  this.backgroundColor = const Color(0xFF131314),
  this.menuItemBackgroundColor = const Color(0xff00000000), // transparent
  this.disabledMenuItemBackgroundColor = const Color(0xFF757575),
  this.activedMenuItemBackgroundColor = const Color(0xFF2d2d31),
  this.menuItemTextStyle = const TextStyle(
    fontFamily: "Poppins",
    fontSize: 14,
    color: Colors.grey,
  ),
  this.activeMenuItemTextStyle = const TextStyle(
    fontFamily: "Poppins",
    fontSize: 14,
    color: Colors.white,
  ),
  this.disabledMenuItemTextStyle = const TextStyle(
    fontFamily: "Poppins",
    fontSize: 14,
    color: Color(0xFF424242),
  ),
});