From d1c45f171e3613122a0326e1fb9fc8f3c6fb02e5 Mon Sep 17 00:00:00 2001 From: Yegor Date: Thu, 9 Nov 2017 10:20:03 -0800 Subject: [PATCH] fix the flavors test (#12949) --- dev/integration_tests/flavors/lib/main.dart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/dev/integration_tests/flavors/lib/main.dart b/dev/integration_tests/flavors/lib/main.dart index afacffbe70..3cb45d2f70 100644 --- a/dev/integration_tests/flavors/lib/main.dart +++ b/dev/integration_tests/flavors/lib/main.dart @@ -27,8 +27,11 @@ class _FlavorState extends State { @override Widget build(BuildContext context) { - return _flavor == null - ? const Text('Awaiting flavor...') - : new Text(_flavor, key: const ValueKey('flavor')); + return new Directionality( + textDirection: TextDirection.ltr, + child: _flavor == null + ? const Text('Awaiting flavor...') + : new Text(_flavor, key: const ValueKey('flavor')), + ); } }