-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Your package works in Dart's 2.10 and later versions, but the following warning messages appear on the console screen. I think it's time to update the package.
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_sqlite3-0.3.0/lib/src/bindings/types.dart:16:7: Info: Struct 'Database' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Database extends Struct {}
^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_sqlite3-0.3.0/lib/src/bindings/types.dart:39:7: Info: Struct 'Statement' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Statement extends Struct {}
^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dart_sqlite3-0.3.0/lib/src/bindings/types.dart:75:7: Info: Struct 'Value' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Value extends Struct {}
^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Info: Struct 'Utf8' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Utf8 extends Struct {
^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Info: Struct 'Utf16' is empty. Support for empty structs is deprecated and will be removed in the next stable version of Dart. Use Opaque instead.
class Utf16 extends Struct {
^
../../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Info: Support for using non-constant type arguments 'T' in this FFI API is deprecated and will be removed in the next stable version of Dart. Rewrite the code to ensure that type arguments are compile time constants referring to a valid native type.
final int totalSize = count * sizeOf<T>();
^
Metadata
Metadata
Assignees
Labels
No labels