Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter text direction auto

import 'package:intl/intl.dart' as intl;

bool isRTL(String text) {
    return intl.Bidi.detectRtlDirectionality(text);
}
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter #text #direction #auto
ADD COMMENT
Topic
Name
6+9 =