Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
35c9dec2
Unverified
Commit
35c9dec2
authored
Apr 20, 2021
by
Abhishek Ghaskata
Committed by
GitHub
Apr 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIgrate ios_platform_view_tests to null safety (#80619)
parent
013dc3dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
main.dart
dev/integration_tests/ios_platform_view_tests/lib/main.dart
+5
-5
pubspec.yaml
dev/integration_tests/ios_platform_view_tests/pubspec.yaml
+1
-1
main_test.dart
..._tests/ios_platform_view_tests/test_driver/main_test.dart
+1
-1
No files found.
dev/integration_tests/ios_platform_view_tests/lib/main.dart
View file @
35c9dec2
...
...
@@ -12,7 +12,7 @@ void main() {
/// The main app entrance of the test
class
MyApp
extends
StatelessWidget
{
const
MyApp
({
Key
key
})
:
super
(
key:
key
);
const
MyApp
({
Key
?
key
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
...
...
@@ -30,8 +30,8 @@ class MyApp extends StatelessWidget {
///
/// On press the button, a page with platform view should be pushed into the scene.
class
MyHomePage
extends
StatefulWidget
{
const
MyHomePage
({
Key
key
,
this
.
title
})
:
super
(
key:
key
);
final
String
title
;
const
MyHomePage
({
Key
?
key
,
this
.
title
})
:
super
(
key:
key
);
final
String
?
title
;
@override
_MyHomePageState
createState
()
=>
_MyHomePageState
();
...
...
@@ -42,7 +42,7 @@ class _MyHomePageState extends State<MyHomePage> {
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
appBar:
AppBar
(
title:
Text
(
widget
.
title
),
title:
Text
(
widget
.
title
??
''
),
),
body:
Column
(
children:
<
Widget
>[
TextButton
(
...
...
@@ -69,7 +69,7 @@ class _MyHomePageState extends State<MyHomePage> {
/// A page contains the platform view to be tested.
class
PlatformViewPage
extends
StatelessWidget
{
const
PlatformViewPage
({
Key
key
})
:
super
(
key:
key
);
const
PlatformViewPage
({
Key
?
key
})
:
super
(
key:
key
);
static
Key
button
=
const
ValueKey
<
String
>(
'plus_button'
);
...
...
dev/integration_tests/ios_platform_view_tests/pubspec.yaml
View file @
35c9dec2
...
...
@@ -3,7 +3,7 @@ name: ios_platform_view_tests
version
:
1.0.0+1
environment
:
sdk
:
"
>=2.1.0
<3.0.0"
sdk
:
"
>=2.1
2
.0
<3.0.0"
dependencies
:
flutter
:
...
...
dev/integration_tests/ios_platform_view_tests/test_driver/main_test.dart
View file @
35c9dec2
...
...
@@ -8,7 +8,7 @@ import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
void
main
(
)
{
group
(
'FlutterDriver'
,
()
{
FlutterDriver
driver
;
late
FlutterDriver
driver
;
setUpAll
(()
async
{
driver
=
await
FlutterDriver
.
connect
();
...
...
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