Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support rtl languages #148

Closed
yazdanMhmmdi opened this issue Oct 8, 2021 · 0 comments · Fixed by #356
Closed

support rtl languages #148

yazdanMhmmdi opened this issue Oct 8, 2021 · 0 comments · Fixed by #356
Labels
enhancement New feature or request

Comments

@yazdanMhmmdi
Copy link

Hi
Would it be possible to support rtl languages? i tried to fix it with Directionality widget but seems it's not working.
this is my code:

  Directionality(
                  textDirection: TextDirection.rtl,
                  child: Showcase(
                    key: _two,
                    description: Strings.showcaseFontSizeGuide,
                    animationDuration: Duration(
                        milliseconds:
                            Values.showcaseAnimationTransitionSpeed),
                    showcaseBackgroundColor: IColors.white85,
                    descTextStyle: TextStyle(
                        fontSize: 16 + fontSize, color: IColors.black70),
                    child: Row(
                      children: [
                        FontSizeButtonWidget(
                          isDarkMode: isDark,
                          onTap: () => bolderFontSize(),
                          icon: Icon(
                            Icons.add,
                            size: 16,
                            color: IColors.white85,
                          ),
                        ),
                        FontSizeIndicatorWidget(
                            isDarkMode: isDark,
                            text: fontSize == 2
                                ? Strings.settingsFontSizelarge
                                : fontSize == 0
                                    ? Strings.settingsFontSizeMedium
                                    : Strings.settingsFontSizeSmall),
                        FontSizeButtonWidget(
                          isDarkMode: isDark,
                          onTap: () => thinnerFontSize(),
                          icon: Icon(
                            Icons.remove,
                            size: 16,
                            color: IColors.white85,
                          ),
                        ),
                      ],
                    ),
                  ),
                )

i also attached and marked my output:

gittt

@HappyMakadiyaS HappyMakadiyaS added the enhancement New feature or request label Nov 17, 2022
satria-wardana added a commit to satria-wardana/flutter_showcaseview that referenced this issue Sep 7, 2023
* master: (55 commits)
  📝 Update CHANGELOG.md file for version 2.0.3. (SimformSolutionsPvtLtd#368)
  feat: ✨ Add callback when barrier has been clicked (SimformSolutionsPvtLtd#359)
  fixed-child-constructor-invocation (SimformSolutionsPvtLtd#361)
  ✨ (SimformSolutionsPvtLtd#148) Add feasibility to add `textDirection` of `title` and `description`. (SimformSolutionsPvtLtd#356)
  fix: 🐛 SimformSolutionsPvtLtd#346 Don't respond to any clicks in target & (SimformSolutionsPvtLtd#351)
  fix: 🐛 Flutter inspector makes screen grey (SimformSolutionsPvtLtd#353)
  🔖 version bump 2.0.0+1 to 2.0.1 (SimformSolutionsPvtLtd#341)
  fix: 🐛 Take in account view insets (such as keyboard) (SimformSolutionsPvtLtd#288)
  Miscellaneous changes
  Add missing copyright notice in enum.dart
  feat: ✨ Add padding to title and description
  fix: 🐛 PR title validation workflow issue (SimformSolutionsPvtLtd#322)
  feat: ✨ Provide Manual option for vertical position of tooltip (SimformSolutionsPvtLtd#306)
  feat: ✨ Enable/disable showcase globally. (SimformSolutionsPvtLtd#319)
  ✨ add mac support in example. (SimformSolutionsPvtLtd#197)
  Fix: 🔨 Remove title validation workflow (SimformSolutionsPvtLtd#321)
  chore: 👷workflow for PR title validation (SimformSolutionsPvtLtd#286)
  release: 🔖 version bump 2.0.0 to 2.0.0+1 (SimformSolutionsPvtLtd#302)
  release: 🔖 version bump 1.1.8 to 2.0.0 (SimformSolutionsPvtLtd#301)
  fix: 🐛 logic update in `tooltip_widget.dart` (SimformSolutionsPvtLtd#300)
  ...

# Conflicts:
#	example/ios/Flutter/AppFrameworkInfo.plist
#	example/ios/Runner.xcodeproj/project.pbxproj
#	example/lib/main.dart
#	lib/src/showcase.dart
#	lib/src/showcase_widget.dart
#	lib/src/tooltip_widget.dart
LocLt-Mobile pushed a commit to guide-inc-org/guide-flutter_showcaseview that referenced this issue Oct 28, 2023
dalas728 pushed a commit to dalas728/flutter-viewcase that referenced this issue Aug 12, 2024
…o add `textDirection` of `title` and `description`. (#356)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants