forked from firka/flutter
FFI plugins (#96225)
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
{{^withFfiPluginHook}}
|
||||
import 'package:{{projectName}}/main.dart';
|
||||
{{/withFfiPluginHook}}
|
||||
|
||||
{{^withPluginHook}}
|
||||
void main() {
|
||||
@@ -30,7 +32,7 @@ void main() {
|
||||
});
|
||||
}
|
||||
{{/withPluginHook}}
|
||||
{{#withPluginHook}}
|
||||
{{#withPlatformChannelPluginHook}}
|
||||
void main() {
|
||||
testWidgets('Verify Platform version', (WidgetTester tester) async {
|
||||
// Build our app and trigger a frame.
|
||||
@@ -46,4 +48,4 @@ void main() {
|
||||
);
|
||||
});
|
||||
}
|
||||
{{/withPluginHook}}
|
||||
{{/withPlatformChannelPluginHook}}
|
||||
|
||||
Reference in New Issue
Block a user