Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShareExtend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李增强
ShareExtend
Commits
1028417f
Commit
1028417f
authored
Oct 10, 2018
by
zhouteng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update pubspec.yaml
parent
ea743360
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
example/test/widget_test.dart
example/test/widget_test.dart
+15
-15
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
example/test/widget_test.dart
View file @
1028417f
...
...
@@ -4,22 +4,22 @@
// find child widgets in the widget tree, read text, and verify that the values of widget properties
// are correct.
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
//
import 'package:flutter/material.dart';
//
import 'package:flutter_test/flutter_test.dart';
import
'package:share_extend_example/main.dart'
;
//
import 'package:share_extend_example/main.dart';
void
main
(
)
{
testWidgets
(
'Verify Platform version'
,
(
WidgetTester
tester
)
async
{
// Build our app and trigger a frame.
await
tester
.
pumpWidget
(
new
MyApp
());
// Verify that platform version is retrieved.
expect
(
find
.
byWidgetPredicate
(
(
Widget
widget
)
=>
widget
is
Text
&&
widget
.
data
.
startsWith
(
'Running on:'
),
),
findsOneWidget
);
});
//
testWidgets('Verify Platform version', (WidgetTester tester) async {
//
// Build our app and trigger a frame.
//
await tester.pumpWidget(new MyApp());
//
//
// Verify that platform version is retrieved.
//
expect(
//
find.byWidgetPredicate(
//
(Widget widget) =>
//
widget is Text && widget.data.startsWith('Running on:'),
//
),
//
findsOneWidget);
//
});
}
pubspec.yaml
View file @
1028417f
name
:
share_extend
description
:
A flutter plugin to share text, image, file with systemui.
version
:
0.0.1
author
:
zhouteng
author
:
zhouteng
<qfszyq@gmail.com>
homepage
:
https://github.com/zhouteng0217/ShareExtend.git
environment
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment