package Ġy hh Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . Surface View Ċ import Ġandroid . view . View Ċ import Ġandroid . widget . Frame Layout Ċ import Ġio . flutter . plugin . common . Standard Message Codec Ċ import Ġio . flutter . plugin . platform . Platform View Ċ import Ġio . flutter . plugin . platform . Platform View Factory Ċ Ċ class ĠScreen Sharing Surface View Factory : ĠPlatform View Factory ( Standard Message Codec . INSTANCE ) Ġ{ ĊĠ Ġoverride Ġfun Ġcreate ( context : ĠContext ?, Ġview Id : ĠInt , Ġargs : ĠAny ?): ĠPlatform View Ġ{ ĊĠĠĠ Ġval Ġcreation Params Ġ= Ġargs Ġas ĠMap < String ?, Any ?> ĊĠĠĠ Ġreturn ĠScreen Sharing Surface View ( context !! , view Id , creation Params ) ĊĠ Ġ} ĊĊĠ Ġinner Ġclass ĠScreen Sharing Surface View ( val Ġcontext : ĠContext , Ġval Ġid : ĠInt , Ġval Ġcreation Params : ĠMap < String ?, ĠAny ?> ?) Ġ: ĠPlatform View Ġ{ ĊĠĠĠ Ġprivate Ġval Ġsurface View : ĠFrame Layout Ġ= ĠConst . screen Sharing Manager ?. remote View !! ĊĊĊĠĠĠ Ġoverride Ġfun Ġget View (): ĠView Ġ{ ĊĠĠĠĠĠ Ġreturn Ġsurface View ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġdispose () Ġ{ ĊĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ