v0.0.7auto_direction
이 패키지는 제공된 텍스트의 언어에 따라 위젯의 방향을 LTR에서 RTL로, 또는 그 반대로 변경합니다.
88좋아요 1.9천30일 다운로드40Pub 점수
AndroidiOSWebmacOSWindowsLinux
이 플러터 패키지는 제공된 텍스트의 언어에 따라 위젯의 방향을 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 ↗