override fun getMovieSuccsess(searchViewModel: SearchViewModel) 6. In Android MainActivity you need to get parameter that send from Flutter side using this code val searchQuery = call.argument( "query") presenter.getMovieList(searchQuery!!)Īnd after get result from library you need to parse the model object into Maps to be able to process in Dart. ![]() ![]() To be able to call Kotlin library we need to use Flutter platform channels, for basic implementation you can check here.
0 Comments
Leave a Reply. |