bump Dart SDK version for NativeCallable
This commit is contained in:
@@ -541,14 +541,10 @@ external void transform_to_unit_cube(
|
|||||||
);
|
);
|
||||||
|
|
||||||
@ffi.Native<
|
@ffi.Native<
|
||||||
ffi.Void Function(
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float, ffi.Float,
|
||||||
ffi.Pointer<ffi.Void>,
|
ffi.Float, ffi.Bool)>(
|
||||||
EntityId,
|
symbol: 'queue_position_update', assetId: 'flutter_filament_plugin')
|
||||||
ffi.Float,
|
external void queue_position_update(
|
||||||
ffi.Float,
|
|
||||||
ffi.Float,
|
|
||||||
ffi.Bool)>(symbol: 'set_position', assetId: 'flutter_filament_plugin')
|
|
||||||
external void set_position(
|
|
||||||
ffi.Pointer<ffi.Void> assetManager,
|
ffi.Pointer<ffi.Void> assetManager,
|
||||||
int asset,
|
int asset,
|
||||||
double x,
|
double x,
|
||||||
@@ -557,6 +553,32 @@ external void set_position(
|
|||||||
bool relative,
|
bool relative,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ffi.Native<
|
||||||
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float, ffi.Float,
|
||||||
|
ffi.Float, ffi.Float, ffi.Float, ffi.Bool)>(
|
||||||
|
symbol: 'queue_rotation_update', assetId: 'flutter_filament_plugin')
|
||||||
|
external void queue_rotation_update(
|
||||||
|
ffi.Pointer<ffi.Void> assetManager,
|
||||||
|
int asset,
|
||||||
|
double rads,
|
||||||
|
double x,
|
||||||
|
double y,
|
||||||
|
double z,
|
||||||
|
double w,
|
||||||
|
bool relative,
|
||||||
|
);
|
||||||
|
|
||||||
|
@ffi.Native<
|
||||||
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float, ffi.Float,
|
||||||
|
ffi.Float)>(symbol: 'set_position', assetId: 'flutter_filament_plugin')
|
||||||
|
external void set_position(
|
||||||
|
ffi.Pointer<ffi.Void> assetManager,
|
||||||
|
int asset,
|
||||||
|
double x,
|
||||||
|
double y,
|
||||||
|
double z,
|
||||||
|
);
|
||||||
|
|
||||||
@ffi.Native<
|
@ffi.Native<
|
||||||
ffi.Void Function(
|
ffi.Void Function(
|
||||||
ffi.Pointer<ffi.Void>,
|
ffi.Pointer<ffi.Void>,
|
||||||
@@ -565,8 +587,7 @@ external void set_position(
|
|||||||
ffi.Float,
|
ffi.Float,
|
||||||
ffi.Float,
|
ffi.Float,
|
||||||
ffi.Float,
|
ffi.Float,
|
||||||
ffi.Float,
|
ffi.Float)>(symbol: 'set_rotation', assetId: 'flutter_filament_plugin')
|
||||||
ffi.Bool)>(symbol: 'set_rotation', assetId: 'flutter_filament_plugin')
|
|
||||||
external void set_rotation(
|
external void set_rotation(
|
||||||
ffi.Pointer<ffi.Void> assetManager,
|
ffi.Pointer<ffi.Void> assetManager,
|
||||||
int asset,
|
int asset,
|
||||||
@@ -575,7 +596,6 @@ external void set_rotation(
|
|||||||
double y,
|
double y,
|
||||||
double z,
|
double z,
|
||||||
double w,
|
double w,
|
||||||
bool relative,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float)>(
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float)>(
|
||||||
@@ -828,11 +848,18 @@ external void flutter_filament_free(
|
|||||||
ffi.Pointer<ffi.Void> ptr,
|
ffi.Pointer<ffi.Void> ptr,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
@ffi.Native<
|
||||||
|
ffi.Void Function(
|
||||||
|
ffi.Pointer<ffi.Void>,
|
||||||
|
EntityId,
|
||||||
|
ffi.Pointer<
|
||||||
|
ffi.NativeFunction<ffi.Void Function(EntityId entityId)>>)>(
|
||||||
symbol: 'add_collision_component', assetId: 'flutter_filament_plugin')
|
symbol: 'add_collision_component', assetId: 'flutter_filament_plugin')
|
||||||
external void add_collision_component(
|
external void add_collision_component(
|
||||||
ffi.Pointer<ffi.Void> assetManager,
|
ffi.Pointer<ffi.Void> assetManager,
|
||||||
int entityId,
|
int entityId,
|
||||||
|
ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId entityId)>>
|
||||||
|
callback,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ffi.Native<
|
@ffi.Native<
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ version: 0.5.0
|
|||||||
homepage:
|
homepage:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.1.0 <4.0.0"
|
||||||
flutter: ">=3.16.0-0.2.pre"
|
flutter: ">=3.16.0-0.2.pre"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user