Displays a clickable text inside a NavigationBar slot. More...

Import Statement: import Felgo 3.0
Since: Felgo 2.9.2



Detailed Description

This item can be used to display text inside the left or right NavigationBar slot. It optionally also acts as a button that can be clicked by the user. If you do not want the text to be clickable, set enabled to false.

iOS Android

Example Usage

 import Felgo 3.0

 App {
   NavigationStack {

     Page {
       title: "Example"
       rightBarItem: TextButtonBarItem {
         text: "Click Me!"
         onClicked: console.log("Text Clicked")


Property Documentation

color : color

The color of the text. The default is Theme.navigationBar.itemColor if TextButtonBarItem is enabled, Theme.navigationBar.titleColor otherwise.

text : string

The text to be displayed.

textItem : AppText

The text item that shows the text.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support