text_auto_direction 0.0.2 copy "text_auto_direction: ^0.0.2" to clipboard
text_auto_direction: ^0.0.2 copied to clipboard

A Flutter package that provides the AutoDirection widget for automatic text direction detection.

example/main.dart

import 'package:flutter/material.dart';
import 'package:text_auto_direction/text_auto_direction.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: AutoDirection(
            text: "مرحبًا بك في Flutter!",
            child: Text("مرحبًا بك في Flutter!"),
          ),
        ),
      ),
    );
  }
}
2
likes
150
points
81
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides the AutoDirection widget for automatic text direction detection.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, intl

More

Packages that depend on text_auto_direction