首先手动创建一个hello_project的Flutter Project,再一步步跟着源码走
按照惯例我们首先查找是否有自定义的Application,发现Flutter Project没有自定义Application,然后我们再来看MainActivity.kt
class MainActivity: FlutterActivity() {
}
MainActivity代码无比简单,我们继续看FlutterActivity.java(Google官方都推Kotlin了,FlutterActivity居然还用Java…)
public class