[mob] Lint fixed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import "dart:async";
|
||||
import "dart:developer" as dev show log;
|
||||
import 'dart:typed_data' show ByteBuffer, ByteData, Float32List, Uint8List;
|
||||
import 'dart:typed_data' show ByteData, Float32List;
|
||||
import 'dart:ui' as ui show Image;
|
||||
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
@@ -49,7 +49,7 @@ class FaceEmbeddingService extends MlModel {
|
||||
}
|
||||
} catch (e) {
|
||||
_logger.info(
|
||||
'MobileFaceNet (entePlugin: $useEntePlugin)Error while running inference: $e');
|
||||
'MobileFaceNet (entePlugin: $useEntePlugin)Error while running inference: $e',);
|
||||
throw MobileFaceNetInterpreterRunException();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import "dart:io" show File, Platform;
|
||||
import "dart:io" show File;
|
||||
|
||||
import "package:computer/computer.dart";
|
||||
import "package:logging/logging.dart";
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'onnx_dart_platform_interface.dart';
|
||||
import 'package:onnx_dart/onnx_dart_platform_interface.dart';
|
||||
|
||||
/// An implementation of [OnnxDartPlatform] that uses method channels.
|
||||
class MethodChannelOnnxDart extends OnnxDartPlatform {
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:onnx_dart/onnx_dart_method_channel.dart';
|
||||
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
|
||||
|
||||
import 'onnx_dart_method_channel.dart';
|
||||
|
||||
abstract class OnnxDartPlatform extends PlatformInterface {
|
||||
/// Constructs a OnnxDartPlatform.
|
||||
OnnxDartPlatform() : super(token: _token);
|
||||
|
||||
@@ -13,9 +13,10 @@ dependencies:
|
||||
plugin_platform_interface: ^2.0.2
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^3.0.0
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
flutter_lints: ^3.0.0
|
||||
|
||||
|
||||
# For information on the generic Dart part of this file, see the
|
||||
# following page: https://dart.dev/tools/pub/pubspec
|
||||
|
||||
@@ -124,12 +124,12 @@ dependencies:
|
||||
motionphoto:
|
||||
git: "https://github.com/ente-io/motionphoto.git"
|
||||
move_to_background: ^1.0.2
|
||||
onnx_dart:
|
||||
path: plugins/onnx_dart
|
||||
onnxruntime:
|
||||
git:
|
||||
url: https://github.com/ente-io/onnxruntime.git
|
||||
ref: ente_onnxruntime
|
||||
onnx_dart:
|
||||
path: plugins/onnx_dart
|
||||
open_mail_app: ^0.4.5
|
||||
package_info_plus: ^4.1.0
|
||||
page_transition: ^2.0.2
|
||||
|
||||
Reference in New Issue
Block a user