Can method channel be handled in dart itself

209 views Asked by At

I'm new to flutter so, please bear with me if this is a novice.

Is there a way to add handler for Method channel calls in dart code?

The samples and demo I referred to online all use the method channel to add handlers in native platforms. But none speaks about handling them in the flutter app itself.

Reason: There are already platform handlers for a fetching a image. but I need the same function to be done via an HTTP request from the app code.

0

There are 0 answers