SimpleSidebarItem constructor

SimpleSidebarItem({
  1. required String title,
  2. required Widget child,
  3. bool? wrapWord,
  4. TextOverflow? textOverflow,
  5. String? customTooltipMessage,
  6. IconData? iconFront,
  7. IconData? iconEnd,
})

Creates a new SimpleSidebarItem

Implementation

SimpleSidebarItem(
    {required this.title,
    required this.child,
    this.wrapWord,
    this.textOverflow,
    this.customTooltipMessage,
    this.iconFront,
    this.iconEnd}) {
  assert(iconEnd != null || iconFront != null,
      "You need to provide at least one icon");
}