v0.0.7auto_direction
このパッケージは、提供されたテキストの言語に基づいて、ウィジェットの方向をLTRからRTL、またはその逆に変更します。
88いいね 186030日間ダウンロード40Pub ポイント
AndroidiOSWebmacOSWindowsLinux
このFlutterパッケージは、提供されたテキストの言語に基づいて、ウィジェットの方向をLTRからRTL、またはその逆に変更します。
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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.
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;
});
},
),
)
依存関係一覧 3 件
{"sdk":"flutter"}^0.18.1{"sdk":"flutter"}用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗