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
Thanks @donisaputradev, your RTL fix works perfectly! Just wanted to expand a bit for others who might run into the same issue.
Steps I followed:
Copied the package locally into my project (e.g., under lib/local_packages/circle_nav_bar/lib/circle_nav_bar.dart). Also added this pubspec.yaml (under lib/local_packages/circle_nav_bar/pubspec.yaml):
name: circle_nav_bar
description: A custom navigation bar with RTL support.
version: 1.0.0
environment:
sdk: ">=2.17.0 <4.0.0"
dependencies:
flutter:
sdk: flutter
In my project's pubspec.yaml, I pointed to the local path instead of current circle_nav_bar reference:
Activity
MohamadSuhiebAjaj commentedon Jul 8, 2024
i also face the same issue please if you find problem fix tag me
yottaline commentedon Jul 10, 2024
@MohamadSuhiebAjaj
Just wrap the nav with a Directionality widget to keep it ltr whatever your app ltr or rtl
and reverse the items or keep it as it is
donisaputradev commentedon Sep 25, 2024
I want to help, I found the fix like this for RTL support :
from this :
to this :
shahmir-ahmed commentedon Jul 16, 2025
Thanks @donisaputradev, your RTL fix works perfectly! Just wanted to expand a bit for others who might run into the same issue.
Steps I followed:
Copied the package locally into my project (e.g., under lib/local_packages/circle_nav_bar/lib/circle_nav_bar.dart). Also added this pubspec.yaml (under lib/local_packages/circle_nav_bar/pubspec.yaml):
In my project's pubspec.yaml, I pointed to the local path instead of current circle_nav_bar reference:
Updated the getPosition() method using @donisaputradev fix:
Moved the tabAc.value = getPosition(...) logic from initState() into didChangeDependencies() to avoid the dependOnInheritedWidgetOfExactType error:
Everything works smoothly now — RTL and all!
Would be great if this could be merged or added as an option in the main package.