NavNode<T> constructor

const NavNode<T>({
  1. required NavNodeId id,
  2. required String label,
  3. IconData? icon,
  4. List<NavNode<T>> children = const [],
  5. NavBadge? badge,
  6. List<String>? shortcut,
  7. T? value,
  8. bool enabled = true,
})

Implementation

const NavNode({
  required this.id,
  required this.label,
  this.icon,
  this.children = const [],
  this.badge,
  this.shortcut,
  this.value,
  this.enabled = true,
});