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
c3a15bf9
Unverified
Commit
c3a15bf9
authored
Apr 16, 2021
by
Abhishek Ghaskata
Committed by
GitHub
Apr 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate the ios_app_with_extensions to null safety (#80485)
parent
e197a96f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
main.dart
dev/integration_tests/ios_app_with_extensions/lib/main.dart
+4
-4
pubspec.yaml
dev/integration_tests/ios_app_with_extensions/pubspec.yaml
+1
-1
No files found.
dev/integration_tests/ios_app_with_extensions/lib/main.dart
View file @
c3a15bf9
...
@@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
...
@@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
void
main
(
)
=>
runApp
(
const
MyApp
());
void
main
(
)
=>
runApp
(
const
MyApp
());
class
MyApp
extends
StatelessWidget
{
class
MyApp
extends
StatelessWidget
{
const
MyApp
({
Key
key
})
:
super
(
key:
key
);
const
MyApp
({
Key
?
key
})
:
super
(
key:
key
);
// This widget is the root of your application.
// This widget is the root of your application.
@override
@override
...
@@ -32,7 +32,7 @@ class MyApp extends StatelessWidget {
...
@@ -32,7 +32,7 @@ class MyApp extends StatelessWidget {
}
}
class
MyHomePage
extends
StatefulWidget
{
class
MyHomePage
extends
StatefulWidget
{
const
MyHomePage
({
Key
key
,
this
.
title
})
:
super
(
key:
key
);
const
MyHomePage
({
Key
?
key
,
this
.
title
})
:
super
(
key:
key
);
// This widget is the home page of your application. It is stateful, meaning
// This widget is the home page of your application. It is stateful, meaning
// that it has a State object (defined below) that contains fields that affect
// that it has a State object (defined below) that contains fields that affect
...
@@ -43,7 +43,7 @@ class MyHomePage extends StatefulWidget {
...
@@ -43,7 +43,7 @@ class MyHomePage extends StatefulWidget {
// used by the build method of the State. Fields in a Widget subclass are
// used by the build method of the State. Fields in a Widget subclass are
// always marked "final".
// always marked "final".
final
String
title
;
final
String
?
title
;
@override
@override
_MyHomePageState
createState
()
=>
_MyHomePageState
();
_MyHomePageState
createState
()
=>
_MyHomePageState
();
...
@@ -75,7 +75,7 @@ class _MyHomePageState extends State<MyHomePage> {
...
@@ -75,7 +75,7 @@ class _MyHomePageState extends State<MyHomePage> {
appBar:
AppBar
(
appBar:
AppBar
(
// Here we take the value from the MyHomePage object that was created by
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title.
// the App.build method, and use it to set our appbar title.
title:
Text
(
widget
.
title
),
title:
Text
(
widget
.
title
??
''
),
),
),
body:
Center
(
body:
Center
(
// Center is a layout widget. It takes a single child and positions it
// Center is a layout widget. It takes a single child and positions it
...
...
dev/integration_tests/ios_app_with_extensions/pubspec.yaml
View file @
c3a15bf9
...
@@ -13,7 +13,7 @@ name: ios_app_with_extensions
...
@@ -13,7 +13,7 @@ name: ios_app_with_extensions
version
:
1.0.0+1
version
:
1.0.0+1
environment
:
environment
:
sdk
:
"
>=2.1.0
<3.0.0"
sdk
:
"
>=2.1
2
.0
<3.0.0"
dependencies
:
dependencies
:
flutter
:
flutter
:
...
...
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