fix the flavors test (#12949)
This commit is contained in:
parent
5939ff45bf
commit
d1c45f171e
@ -27,8 +27,11 @@ class _FlavorState extends State<Flavor> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return _flavor == null
|
return new Directionality(
|
||||||
? const Text('Awaiting flavor...')
|
textDirection: TextDirection.ltr,
|
||||||
: new Text(_flavor, key: const ValueKey<String>('flavor'));
|
child: _flavor == null
|
||||||
|
? const Text('Awaiting flavor...')
|
||||||
|
: new Text(_flavor, key: const ValueKey<String>('flavor')),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user