Documentation

Trace:

Differences

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

Link to this comparison view

flutterui:badge_component [2025/09/15 11:50]
admin created
flutterui:badge_component [2025/09/15 11:51] (current)
admin
Line 8: Line 8:
  
 Show **9** as label Show **9** as label
-<file style="​java">​+<code java">​
 Style.addStyleNames(comp,​ "​f_badge_9"​);​ Style.addStyleNames(comp,​ "​f_badge_9"​);​
 </​code>​ </​code>​
  
 Set border size and color: Set border size and color:
-<​code>​+<​code ​java>
 Style.addStyleNames(comp,​ "​f_badge_border_2_#​aa0000"​);​ Style.addStyleNames(comp,​ "​f_badge_border_2_#​aa0000"​);​
 </​code>​ </​code>​
  
 Set alignment: Set alignment:
-<​code>​+<​code ​java>
 Style.addStyleNames(comp,​ "​f_badge_align_bottomRight"​);​ Style.addStyleNames(comp,​ "​f_badge_align_bottomRight"​);​
 </​code>​ </​code>​
Line 24: Line 24:
  
 Set an offset for x and y position: Set an offset for x and y position:
 +<code java>
 Style.addStyleNames(comp,​ "​f_badge_offset_10_5"​);​ Style.addStyleNames(comp,​ "​f_badge_offset_10_5"​);​
 +</​code>​
  or just x:  or just x:
 +<code java>
 Style.addStyleNames(comp,​ "​f_badge_offset_20"​);​ Style.addStyleNames(comp,​ "​f_badge_offset_20"​);​
 +</​code>​
  
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information