Flutter change UI with platform channels

Issue

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),

Answered By – s.am.i

Answer Checked By – David Marino (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *