SimpleSidebarThemeData constructor

SimpleSidebarThemeData({
  1. Color? selectedIconColor = Colors.white,
  2. Color? unselectedIconColor = Colors.grey,
  3. TextStyle? selectedTextStyle = const TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.bold),
  4. TextStyle? unselectedTextStyle = const TextStyle(fontSize: 16, color: Colors.grey, fontWeight: FontWeight.bold),
  5. Color? expandedBackgroundColor = Colors.blueGrey,
  6. Color? collapsedBackgroundColor = Colors.blueGrey,
  7. BorderRadius? expandedShape = const BorderRadius.all(Radius.circular(8)),
  8. BorderRadius? collapsedShape = const BorderRadius.all(Radius.circular(8)),
  9. double? elevation = 5,
  10. double? iconSize = 24,
  11. double? expandedWidth = 400,
  12. double? collapsedWidth = 50,
  13. EdgeInsetsGeometry? padding = const EdgeInsets.all(4),
  14. EdgeInsetsGeometry? margin = const EdgeInsets.all(8),
  15. Duration transitionDuration = const Duration(milliseconds: 300),
})

Implementation

SimpleSidebarThemeData({
  this.selectedIconColor = Colors.white,
  this.unselectedIconColor = Colors.grey,
  this.selectedTextStyle = const TextStyle(fontSize: 16, color: Colors.white, fontWeight: FontWeight.bold),
  this.unselectedTextStyle = const TextStyle(fontSize: 16, color: Colors.grey, fontWeight: FontWeight.bold),
  this.expandedBackgroundColor = Colors.blueGrey,
  this.collapsedBackgroundColor = Colors.blueGrey,
  this.expandedShape = const BorderRadius.all(Radius.circular(8)),
  this.collapsedShape = const BorderRadius.all(Radius.circular(8)),
  this.elevation = 5,
  this.iconSize = 24,
  this.expandedWidth = 400,
  this.collapsedWidth = 50,
  this.padding = const EdgeInsets.all(4),
  this.margin = const EdgeInsets.all(8),
  this.transitionDuration = const Duration(milliseconds: 300),
});