Trying to reland #140115 which I had to revert in #142889 because [it broke the tree](https://github.com/flutter/flutter/pull/140115#issuecomment-1925774719). In this PR I fixed the post-submit following tests:
To run the Hello World demo:
flutter run
To run the Hello World demo showing Arabic:
flutter run lib/arabic.dart