From 4c8b65af1a025f0d8bb6fc4496ae25e509c4140f Mon Sep 17 00:00:00 2001 From: "CaptainDario @ MBP M1" Date: Mon, 25 Sep 2023 22:36:56 +0200 Subject: [PATCH] dart format . --- .../lib/main.dart | 2 +- .../tensorflow_lite_bindings_generated.dart | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/example/object_detection_ssd_mobilenet/lib/main.dart b/example/object_detection_ssd_mobilenet/lib/main.dart index 9d1530a..12819e7 100644 --- a/example/object_detection_ssd_mobilenet/lib/main.dart +++ b/example/object_detection_ssd_mobilenet/lib/main.dart @@ -78,7 +78,7 @@ class _MyHomeState extends State { child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ - if(Platform.isAndroid || Platform.isIOS) + if (Platform.isAndroid || Platform.isIOS) IconButton( onPressed: () async { final result = await imagePicker.pickImage( diff --git a/lib/src/bindings/tensorflow_lite_bindings_generated.dart b/lib/src/bindings/tensorflow_lite_bindings_generated.dart index f4d7119..9c21319 100644 --- a/lib/src/bindings/tensorflow_lite_bindings_generated.dart +++ b/lib/src/bindings/tensorflow_lite_bindings_generated.dart @@ -550,9 +550,9 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterDeletePtr = _lookup< - ffi - .NativeFunction)>>( - 'TfLiteInterpreterDelete'); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer)>>('TfLiteInterpreterDelete'); late final _TfLiteInterpreterDelete = _TfLiteInterpreterDeletePtr.asFunction< void Function(ffi.Pointer)>(); @@ -566,8 +566,8 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterGetInputTensorCountPtr = _lookup< - ffi - .NativeFunction)>>( + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer)>>( 'TfLiteInterpreterGetInputTensorCount'); late final _TfLiteInterpreterGetInputTensorCount = _TfLiteInterpreterGetInputTensorCountPtr.asFunction< @@ -643,8 +643,8 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterAllocateTensorsPtr = _lookup< - ffi - .NativeFunction)>>( + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer)>>( 'TfLiteInterpreterAllocateTensors'); late final _TfLiteInterpreterAllocateTensors = _TfLiteInterpreterAllocateTensorsPtr.asFunction< @@ -688,9 +688,9 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterInvokePtr = _lookup< - ffi - .NativeFunction)>>( - 'TfLiteInterpreterInvoke'); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer)>>('TfLiteInterpreterInvoke'); late final _TfLiteInterpreterInvoke = _TfLiteInterpreterInvokePtr.asFunction< int Function(ffi.Pointer)>(); @@ -704,8 +704,8 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterGetOutputTensorCountPtr = _lookup< - ffi - .NativeFunction)>>( + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer)>>( 'TfLiteInterpreterGetOutputTensorCount'); late final _TfLiteInterpreterGetOutputTensorCount = _TfLiteInterpreterGetOutputTensorCountPtr.asFunction< @@ -917,8 +917,8 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterResetVariableTensorsPtr = _lookup< - ffi - .NativeFunction)>>( + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer)>>( 'TfLiteInterpreterResetVariableTensors'); late final _TfLiteInterpreterResetVariableTensors = _TfLiteInterpreterResetVariableTensorsPtr.asFunction< @@ -1376,8 +1376,8 @@ class TensorFlowLiteBindings { } late final _TfLiteInterpreterGetSignatureCountPtr = _lookup< - ffi - .NativeFunction)>>( + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer)>>( 'TfLiteInterpreterGetSignatureCount'); late final _TfLiteInterpreterGetSignatureCount = _TfLiteInterpreterGetSignatureCountPtr.asFunction<