flutter-tflite icon indicating copy to clipboard operation
flutter-tflite copied to clipboard

The type 'TfLiteInterpreterOptions' must be 'base', 'final' or 'sealed' because the supertype 'Opaque' is 'base'.

Open wangcker opened this issue 1 year ago • 5 comments

when flutter sdk upgrade to 3.24.0 ,there is a error as suject

wangcker avatar Aug 07 '24 07:08 wangcker

Yes this is a known issue that I've raised with the Flutter team to see if we can get a fix before I publish the next version to pub.dev.

On Wed, Aug 7, 2024, 3:58 PM wangcker @.***> wrote:

when flutter sdk upgrade to 3.24.0 ,there is a error as suject

— Reply to this email directly, view it on GitHub https://github.com/tensorflow/flutter-tflite/issues/234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR2C3YUY4OTLPGU6N6WEITZQHHQ5AVCNFSM6AAAAABMD23HI2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2TEOBSHA3TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

PaulTR avatar Aug 07 '24 08:08 PaulTR

is this ? https://github.com/dart-lang/sdk/issues/51787

wangcker avatar Aug 07 '24 08:08 wangcker

When will this error be fixed?

shuizhuyu1015 avatar Aug 13 '24 06:08 shuizhuyu1015

Not sure - I ran it by the Flutter team to get some help, but everyone is pretty slammed. If someone in the community wants to work on it, that'd be awesome.

PaulTR avatar Aug 13 '24 22:08 PaulTR

Hi everyone, I will try something here : https://github.com/tensorflow/flutter-tflite/pull/241 it seems to solve the issue.

mdejeans avatar Aug 14 '24 07:08 mdejeans