fix the flavors test (#12949)

This commit is contained in:
Yegor 2017-11-09 10:20:03 -08:00 committed by GitHub
parent 5939ff45bf
commit d1c45f171e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,11 @@ class _FlavorState extends State<Flavor> {
@override
Widget build(BuildContext context) {
return _flavor == null
? const Text('Awaiting flavor...')
: new Text(_flavor, key: const ValueKey<String>('flavor'));
return new Directionality(
textDirection: TextDirection.ltr,
child: _flavor == null
? const Text('Awaiting flavor...')
: new Text(_flavor, key: const ValueKey<String>('flavor')),
);
}
}