You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/prPreview/771/components_navigation_ouds_navigation_bar_item/OudsNavigationBarItem/toNavigationDestination.html
<p>This is intended to be used by <ahref="../../components_navigation_ouds_navigation_bar/OudsNavigationBar-class.html">OudsNavigationBar</a> on Android with Material.
70
70
Internally, <ahref="../../components_navigation_ouds_navigation_bar/OudsNavigationBar-class.html">OudsNavigationBar</a> is backed by the Material 3 <ahref="https://api.flutter.dev/flutter/material/NavigationBar-class.html">NavigationBar</a>
71
71
and <ahref="https://api.flutter.dev/flutter/material/NavigationDestination-class.html">NavigationDestination</a> widgets.</p>
72
+
<p>The indicator is automatically managed by <ahref="https://api.flutter.dev/flutter/material/NavigationBar-class.html">NavigationBar</a> when the item is selected.
73
+
Text scaling constraints (maxScaleFactor: 1.08 = 108%) are applied at the bar level
74
+
by the parent <ahref="../../components_navigation_ouds_navigation_bar/OudsNavigationBar-class.html">OudsNavigationBar</a> to prevent item overflow at high zoom.</p>
72
75
<ul>
73
76
<li><code>context</code> is used to access theme tokens and layout values.</li>
74
77
<li><code>controlState</code> drives icon/top-indicator colors according to the current
0 commit comments