Skip to main content

arabize_test 1.0.0 copy "arabize_test: ^1.0.0" to clipboard
arabize_test: ^1.0.0 copied to clipboard

Flutter test helpers for running widget tests in both text directions.

example/main.dart

import 'package:arabize_test/arabize_test.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgetsBothDirections('label is visible', () => const Text('hello'), (
    tester,
    direction,
  ) async {
    expect(find.text('hello'), findsOneWidget);
  });
}
0
likes
160
points
669
downloads

Documentation

API reference

Publisher

verified publisheromarelnasherty.com

Weekly Downloads

Flutter test helpers for running widget tests in both text directions.

Repository (GitHub)
View/report issues

Topics

#arabic #rtl #localization #flutter

License

MIT (license)

Dependencies

flutter, flutter_test

More

Packages that depend on arabize_test