NomoVerticalMenuThemeData constructor

const NomoVerticalMenuThemeData({
  1. BorderSide border = BorderSide.none,
  2. BorderSide selectedBorder = BorderSide.none,
  3. Color foreground = Colors.black,
  4. Color background = Colors.white,
  5. Color selectedBackground = Colors.red,
  6. Color selectedForeground = Colors.red,
  7. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)),
  8. double hPadding = 16.0,
  9. double itemSpacing = 8.0,
  10. double spacing = 8.0,
  11. double height = 56.0,
  12. double iconSize = 28.0,
})

Implementation

const NomoVerticalMenuThemeData({
  this.border = BorderSide.none,
  this.selectedBorder = BorderSide.none,
  this.foreground = Colors.black,
  this.background = Colors.white,
  this.selectedBackground = Colors.red,
  this.selectedForeground = Colors.red,
  this.borderRadius = const BorderRadius.all(Radius.circular(16)),
  this.hPadding = 16.0,
  this.itemSpacing = 8.0,
  this.spacing = 8.0,
  this.height = 56.0,
  this.iconSize = 28.0,
});