package Ġcom . android . hybrid . flutter . view Ċ Ċ import Ġio . flutter . embedding . engine . Flutter Engine Ċ import Ġio . flutter . embedding . engine . plugins . shim . Sh im Plugin Registry Ċ import Ġio . flutter . plugin . common . Plugin Registry Ċ Ċ /** Ċ Ġ* Ġå°Ĩ Native ĠUI Ġ åµ Į åħ¥ åĪ° Flutter ä¸Ń åİ» ä½¿çĶ¨ , éľĢè¦ģ åĩĨå¤ĩ 4 ä»¶ å¥Ĺ Ċ Ġ* Ġ 1 . F ImageView , è¦ģ åµ Į åħ¥ åĪ° Flutter çļĦ iOS Ġview Ġ æĪĸèĢħ ĠAndroid Ġview Ċ Ġ* Ġ 2 . F Image ViewController , F ImageView çļĦ æİ§åĪ¶åĻ¨ , çĶ¨æĿ¥ åĪĽå»º åĴĮ ç®¡çĲĨ F ImageView Ċ Ġ* Ġ 3 . F ImageView Factory , çĶ¨äºİ åĲĳ Flutter æıĲä¾Ľ F ImageView Ċ Ġ* Ġ 4 . F ImageView Plugin , çĶ¨äºİ åĲĳ Flutter æ³¨åĨĮ F ImageView Ċ Ġ* Ċ Ġ* Ġ æİ¥ ä¸ĭ æĿ¥ , æĪĳä»¬ å°± ä»¥ åĽ¾çīĩ ä¸º ä¾ĭ , æĬĬ ImageView æİ§ä»¶ åµ Į åħ¥ åĪ° Flutter ä¸Ń è¿Ľè¡Į ä½¿çĶ¨ Ċ Ġ*/ Ċ object ĠF ImageView Plugin Ġ{ ĊĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠéľĢè¦ģ åľ¨ åĪĽå»º Flutter å¼ķ æĵ İ çļĦæĹ¶åĢĻ åİ» æ³¨åĨĮ ( éĩįè¦ģ ) ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġregister With ( flutter Engine : ĠFlutter Engine ){ ĊĠĠĠĠĠĠĠ Ġval Ġshim Plugin Registry Ġ= ĠSh im Plugin Registry ( flutter Engine ) ĊĠĠĠĠĠĠĠ Ġregister With ( shim Plugin Registry . regist rar For (" Flutter ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġregister With ( register : Plugin Registry . Registrar ){ ĊĠĠĠĠĠĠĠ Ġval Ġf ImageView Factory Ġ= ĠF ImageView Factory ( register . messenger ()) ĊĠĠĠĠĠĠĠ Ġregister . platform View Registry (). register View Factory (" F ImageView ", f ImageView Factory ) ĊĠĠĠ Ġ} ĊĊĊĊ Ċ }