Commit 1028417f authored by zhouteng's avatar zhouteng

update pubspec.yaml

parent ea743360
...@@ -4,22 +4,22 @@ ...@@ -4,22 +4,22 @@
// find child widgets in the widget tree, read text, and verify that the values of widget properties // find child widgets in the widget tree, read text, and verify that the values of widget properties
// are correct. // are correct.
import 'package:flutter/material.dart'; //import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart'; //import 'package:flutter_test/flutter_test.dart';
import 'package:share_extend_example/main.dart'; //import 'package:share_extend_example/main.dart';
void main() { void main() {
testWidgets('Verify Platform version', (WidgetTester tester) async { // testWidgets('Verify Platform version', (WidgetTester tester) async {
// Build our app and trigger a frame. // // Build our app and trigger a frame.
await tester.pumpWidget(new MyApp()); // await tester.pumpWidget(new MyApp());
//
// Verify that platform version is retrieved. // // Verify that platform version is retrieved.
expect( // expect(
find.byWidgetPredicate( // find.byWidgetPredicate(
(Widget widget) => // (Widget widget) =>
widget is Text && widget.data.startsWith('Running on:'), // widget is Text && widget.data.startsWith('Running on:'),
), // ),
findsOneWidget); // findsOneWidget);
}); // });
} }
name: share_extend name: share_extend
description: A flutter plugin to share text, image, file with systemui. description: A flutter plugin to share text, image, file with systemui.
version: 0.0.1 version: 0.0.1
author: zhouteng author: zhouteng <qfszyq@gmail.com>
homepage: https://github.com/zhouteng0217/ShareExtend.git homepage: https://github.com/zhouteng0217/ShareExtend.git
environment: environment:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment