androidiosflutterflutter-platform-channel

Flutter change UI with platform channels


I want to use platform channel to change UI(ui.image) to update modified image faster(my app have delay with this).
Is it able to change UI with platform channel?
If it is, how can I specify changing ui and apply change to platform channel?


EDIT

I want to pass bytedata and show it through navite imageview


Solution

  • import 'dart:io' show Platform;
    

    ex:

    Platform.isIOS ? Icon(Icons.arrow_back_ios):Icon(Icons.arrow_back),