Mobile UI
Toggle table of contents
0.9.0
common
Platform filter
common
Switch theme
Search in API
Mobile UI
Mobile UI
/
org.hisp.dhis.mobile.ui.designsystem.component.navigationBar
/
NavigationBarItem
Navigation
Bar
Item
data
class
NavigationBarItem
<
T
>
(
val
id
:
T
,
val
icon
:
ImageVector
,
val
selectedIcon
:
ImageVector
=
icon
,
val
label
:
String
,
val
enabled
:
Boolean
=
true
,
val
showBadge
:
Boolean
=
false
,
val
badgeText
:
String
?
=
null
)
Members
Constructors
Navigation
Bar
Item
Link copied to clipboard
constructor
(
id
:
T
,
icon
:
ImageVector
,
selectedIcon
:
ImageVector
=
icon
,
label
:
String
,
enabled
:
Boolean
=
true
,
showBadge
:
Boolean
=
false
,
badgeText
:
String
?
=
null
)
Properties
badge
Text
Link copied to clipboard
val
badgeText
:
String
?
=
null
enabled
Link copied to clipboard
val
enabled
:
Boolean
=
true
icon
Link copied to clipboard
val
icon
:
ImageVector
id
Link copied to clipboard
val
id
:
T
label
Link copied to clipboard
val
label
:
String
selected
Icon
Link copied to clipboard
val
selectedIcon
:
ImageVector
show
Badge
Link copied to clipboard
val
showBadge
:
Boolean
=
false