natsuk4ze / gal

How to Save Image or Video to Photo Gallery in Flutter

Home Page:https://pub.dev/packages/gal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2.3.0 not compatible with gal_linux

lijianqiang12 opened this issue · comments

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
flutter_quill

Environment

Logs
nothing

Logs

Logs
nothing

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.