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
6 years ago
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 @@
...
@@ -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);
});
//
});
}
}
This diff is collapsed.
Click to expand it.
pubspec.yaml
View file @
1028417f
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
:
...
...
This diff is collapsed.
Click to expand it.
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