onRgba method

  1. @override
Future<bool> onRgba(
  1. int key,
  2. Uint8List data,
  3. int height,
  4. int width,
  5. int strideAlign,
)
override

Implementation

@override
Future<bool> onRgba(
    int key, Uint8List data, int height, int width, int strideAlign) async {
  return await methodChannel.invokeMethod<bool>('onRgba', {
        "data": data,
        "height": height,
        "width": width,
        "key": key,
        "stride_align": strideAlign,
      }) ??
      false;
}