v0.0.7auto_direction
Dieses Paket ändert die Richtung eines Widgets von LTR in RTL und umgekehrt basierend auf der Sprache des bereitgestellten Textes.
88Likes 21430-Tage-Downloads140Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
Dieses Flutter-Paket ändert die Richtung eines Widgets von LTR in RTL und umgekehrt basierend auf der Sprache des bereitgestellten Textes.
{"sdk":"flutter"}^0.18.1{"sdk":"flutter"}Englischer Projektschnappschuss. Aktuelle Inhalte auf 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.
Auto RTL on a TextField
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;
});
},
),
)