natsuk4ze / gal

How to Save Image or Video to Photo Gallery in Flutter
https://pub.dev/packages/gal
BSD 3-Clause "New" or "Revised" License
115 stars 18 forks source link

2.3.0 not compatible with gal_linux #209

Closed lijianqiang12 closed 10 months ago

lijianqiang12 commented 10 months ago

Did you check the documentation and it did not help?

Overview

pub-cache/hosted/pub.dev/gal_linux-0.0.1/lib/src/gal_linux.dart:25:16: Error: The method 'GalPluginLinux.putImageBytes' has fewer named arguments than those of overridden method 'GalPlatform.putImageBytes'. Future putImageBytes(Uint8List bytes, {String? album}) =>

pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes'). Future putImageBytes(Uint8List bytes,

Steps to reproduce

when i upgrade to gal 2.3.0

Code sample

Code sample ```dart flutter_quill ```

Environment

Logs ```console nothing ```

Logs

Logs ```console nothing ```
natsuk4ze commented 10 months ago

This is a gal_linux issue, so please submit an issue to that repository.

updating to gal 2.3.0 was not a breaking change for users. However, it was a breaking change for gal_linux as a non-endorsed federated plugin.