package Ġcom . file . view Ċ Ċ import Ġandroid . content . Context Ċ import Ġio . flutter . plugin . common . Binary Messenger Ċ import Ġio . flutter . plugin . common . Standard Message Codec Ċ import Ġio . flutter . plugin . platform . Platform View Ċ import Ġio . flutter . plugin . platform . Platform View Factory Ċ Ċ /** Ċ Ġ* Ġ@ author ĠLi We N Hu I Ċ Ġ* Ġ@ date Ġ 2 0 2 2 / 2 / 1 5 Ċ Ġ* Ġ@ describe ĠLocal File View Factory Ċ Ġ*/ Ċ class ĠLocal File Viewer Factory ( private Ġval ĠmContext : ĠContext ) Ġ: ĠPlatform View Factory ( Standard Message Codec . INSTANCE ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcreate ( context : ĠContext ?, Ġview Id : ĠInt , Ġargs : ĠAny ?): ĠPlatform View Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġparams Ġ= Ġargs Ġas ĠMap < String , ĠAny > ĊĠĠĠĠĠĠĠ Ġreturn ĠLocal File Viewer ( mContext , Ġparams ) ĊĠĠĠ Ġ} Ċ }