package Ġio . flutter . add flutter to android Ċ Ċ import Ġandroid . app . Application Ċ import Ġio . flutter . embedding . engine . Flutter Engine Ċ import Ġio . flutter . embedding . engine . dart . Dart Executor Ċ import Ġio . flutter . view . Flutter Main Ċ Ċ class ĠMy Application Ġ: ĠApplication () Ġ{ ĊĠĠĠ Ġlateinit Ġvar Ġengine : ĠFlutter Engine ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate () ĊĠĠĠĠĠĠĠ ĠFlutter Main . start Initialization ( application Context ) ĊĠĠĠĠĠĠĠ ĠFlutter Main . ensure Initialization Complete ( this , ĠarrayOf < String >()) ĊĠĠĠĠĠĠĠ Ġengine Ġ= ĠFlutter Engine ( this ) ĊĠĠĠĠĠĠĠ Ġval Ġentry Point Ġ= ĠDart Executor . Dart Entry point ( this . assets , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠFlutter Main . find App Bundle Path ( this ), Ġ" main ") ĊĠĠĠĠĠĠĠ Ġengine . dart Executor . execute Dart Entry point ( entry Point ) ĊĠĠĠ Ġ} Ċ }