style: Lint using very_good_analysis
This commit is contained in:
1
packages/moxplatform/analysis_options.yaml
Normal file
1
packages/moxplatform/analysis_options.yaml
Normal file
@@ -0,0 +1 @@
|
||||
include: ../../analysis_options.yaml
|
||||
@@ -1,12 +1,4 @@
|
||||
import "package:moxplatform_platform_interface/moxplatform_platform_interface.dart";
|
||||
import "package:moxplatform_platform_interface/src/isolate.dart";
|
||||
import "package:moxplatform_platform_interface/src/media.dart";
|
||||
library moxplatform;
|
||||
|
||||
export "package:moxplatform_platform_interface/src/isolate.dart" show IsolateHandler;
|
||||
export "package:moxplatform_platform_interface/src/media.dart" show MediaScannerImplementation;
|
||||
export "package:moxplatform_platform_interface/src/service.dart" show BackgroundService;
|
||||
|
||||
class MoxplatformPlugin {
|
||||
static IsolateHandler get handler => MoxplatformInterface.handler;
|
||||
static MediaScannerImplementation get media => MoxplatformInterface.media;
|
||||
}
|
||||
export 'src/plugin.dart';
|
||||
export 'src/types.dart';
|
||||
|
||||
6
packages/moxplatform/lib/src/plugin.dart
Normal file
6
packages/moxplatform/lib/src/plugin.dart
Normal file
@@ -0,0 +1,6 @@
|
||||
import 'package:moxplatform_platform_interface/moxplatform_platform_interface.dart';
|
||||
|
||||
class MoxplatformPlugin {
|
||||
static IsolateHandler get handler => MoxplatformInterface.handler;
|
||||
static MediaScannerImplementation get media => MoxplatformInterface.media;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
import "package:moxlib/awaitabledatasender.dart";
|
||||
import 'package:moxlib/awaitabledatasender.dart';
|
||||
|
||||
abstract class BackgroundCommand implements JsonImplementation {}
|
||||
abstract class BackgroundEvent implements JsonImplementation {}
|
||||
@@ -19,6 +19,10 @@ dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
moxlib:
|
||||
hosted: https://git.polynom.me/api/packages/Moxxy/pub
|
||||
version: 0.1.4
|
||||
|
||||
moxplatform_android:
|
||||
hosted: https://git.polynom.me/api/packages/Moxxy/pub
|
||||
version: 0.1.11
|
||||
@@ -26,11 +30,8 @@ dependencies:
|
||||
hosted: https://git.polynom.me/api/packages/Moxxy/pub
|
||||
version: 0.1.11
|
||||
|
||||
moxlib:
|
||||
hosted: https://git.polynom.me/api/packages/Moxxy/pub
|
||||
version: 0.1.4
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
sdk: flutter
|
||||
plugin_platform_interface: 2.1.2
|
||||
very_good_analysis: 2.4.0
|
||||
|
||||
Reference in New Issue
Block a user