パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリAhmedAlYousif/auto_direction

auto_direction

このFlutterパッケージは、提供されたテキストの言語に基づいて、ウィジェットの方向をLTRからRTL、またはその逆に変更します。

auto_direction のプロジェクト画像
スター
21
フォーク
23
最終プッシュ(UTC)
2023/11/10
プロジェクト状態
アーカイブ済み

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

auto_direction

This widget changes the direction of a widget from ltr direction into rtl direction and vice versa based on the language of the text provided.

Auto RTL on a TextField

Getting Started

This widget will wrap its child with a Directionality widget and it will decide the direction based on the provided text.

...
String text = "";
...
AutoDirection(
  text: text,
  child: TextField(
    onChanged: (str){
      setState(() {
        text = str;
      });
    },
  ),
)
Ahmed Al Yousif GitHub avatar
GitHub 作者

Ahmed Al Yousif ↗

言語C++CMakeDartHTMLCSwiftObjective-CShellJavaKotlin

カテゴリー

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件

  • flutter{"sdk":"flutter"}
  • intl^0.18.1
  • flutter_test開発用{"sdk":"flutter"}

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗