v0.0.7auto_direction
This package changes the direction of a widget from ltr direction into rtl direction and vice versa based on the language of the text provided.
This flutter package changes the direction of a widget from ltr direction into rtl direction and vice versa based on the language of the text provided.
English project snapshot. Visit GitHub for the latest content.
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;
});
},
),
)
Dependency list 3 items
{"sdk":"flutter"}^0.18.1{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗