Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
flutterui:badge_component [2025/09/17 11:56]
admin
flutterui:badge_component [2025/09/17 12:00] (current)
admin
Line 71: Line 71:
 Style.addStyleNames(comp,​ "​f_badge_text_10"​);​ Style.addStyleNames(comp,​ "​f_badge_text_10"​);​
 </​code>​ </​code>​
 +
 +\\ \\ 
 +It's also possible to set screen badges (for the menu):
 +
 +<code java>
 +BadgeUtil.setBadge(this,​ UsersWorkScreen.class,​ Integer.valueOf(1));​
 +</​code>​
 +
 +This will show a badge in the menu, e.g.:
 +
 +{{:​flutterui:​menubadge.png?​nolink&​width=400|}}
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information