createWithBitmap static method

Implementation

static Future<android_widget_ImageView> createWithBitmap(
  android_graphics_Bitmap bitmap,
) async {
  final result = await kMethodChannel.invokeMethod<Ref>(
    'android.widget.ImageView::createWithBitmap',
    {'bitmap': bitmap},
  );
  return android_widget_ImageView()..refId = result?.refId;
}