MenuItem constructor

MenuItem({
  1. int? depth,
  2. bool? repositoryBased,
  3. Map<String, String>? properties = const {},
  4. String? name,
  5. List<MenuItem?>? childMenuItems = const [],
  6. bool? expanded,
  7. bool? selected,
  8. Map<String, String>? parameters = const {},
  9. Map<String, Link>? links = const {},
})

Returns a new MenuItem instance.

Implementation

MenuItem({
  this.depth,
  this.repositoryBased,
  this.properties = const {},
  this.name,
  this.childMenuItems = const [],
  this.expanded,
  this.selected,
  this.parameters = const {},
  this.links = const {},
});