Fix Dart check failure. (#20995)

This commit is contained in:
Mehmet Fidanboylu
2018-08-24 10:15:05 -07:00
committed by GitHub
parent 20e019ef8d
commit ac8d442a6f

View File

@@ -476,6 +476,8 @@ class AndroidViewController {
return kAndroidLayoutDirectionLtr;
case TextDirection.rtl:
return kAndroidLayoutDirectionRtl;
default:
throw new UnsupportedError('Direction $direction is not supported');
}
}