This reverts commit 92ef2b9ce1.
This requires either runApp() or
WidgetsFlutterBinding.ensureInitialized() to have been called before
using any MethodChannels. Plugins broadly rely on MethodChannels and
right now there's no general requirements that they be constructed
within the runApp call, so the ecosystem breakages from this are broader
than originally thought. Reverting for now.
The files in this directory are used as part of tests in the
flutter_tools package. Some are here because here these tests need a
pubspec.yaml that references the flutter framework (which is
intentionally not true of the flutter_tools package). Others are
here mostly out of peer pressure.