discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

HomeMenuItem class abstract

HomeMenuItem

Properties:

  • type - Menu item type
  • visible
  • id - Unique identifier for predefined menu items
  • name - Name of the menu item
  • icon - URL of the menu item icon. Overrides 'materialIcon'
  • pages - List of child menu items
  • homeType - DEFAULT or DASHBOARD. DASHBOARD means default home page presentation changed to refer to dashboard
  • dashboardId - Id of the Dashboard to open, when user clicks the menu item
  • hideDashboardToolbar - Hide the dashboard toolbar
Implemented types
Available extensions
Annotations
  • @BuiltValue.new()

Constructors

HomeMenuItem([void updates(HomeMenuItemBuilder b)])
factory

Properties

dashboardId → String?
Id of the Dashboard to open, when user clicks the menu item
no setter
discriminatorValue → String?

Available on MenuItem, provided by the MenuItemDiscriminatorExt extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
hideDashboardToolbar → bool?
Hide the dashboard toolbar
no setter
homeType → HomeMenuItemType?
DEFAULT or DASHBOARD. DASHBOARD means default home page presentation changed to refer to dashboard
no setter
icon → String?
URL of the menu item icon. Overrides 'materialIcon'
no setter
id → String?
Unique identifier for predefined menu items
no setter
name → String?
Name of the menu item
no setter
pages → BuiltList<DefaultMenuItem>?
List of child menu items
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → MenuItemType
Menu item type
no setterinherited
visible → bool?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(HomeMenuItemBuilder)) → HomeMenuItem
Rebuilds the instance.
inherited
toBuilder() → HomeMenuItemBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<HomeMenuItem>
no setter