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
66af44c9
Unverified
Commit
66af44c9
authored
Apr 01, 2021
by
Jenn Magder
Committed by
GitHub
Apr 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate build_info to null safety (#79469)
parent
d657b4ae
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
64 deletions
+49
-64
build_info.dart
packages/flutter_tools/lib/src/build_info.dart
+49
-60
icon_tree_shaker.dart
..._tools/lib/src/build_system/targets/icon_tree_shaker.dart
+0
-3
flutter_command.dart
packages/flutter_tools/lib/src/runner/flutter_command.dart
+0
-1
No files found.
packages/flutter_tools/lib/src/build_info.dart
View file @
66af44c9
This diff is collapsed.
Click to expand it.
packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart
View file @
66af44c9
...
...
@@ -22,9 +22,6 @@ import 'common.dart';
/// only the glyphs used by the application.
const
String
kIconTreeShakerFlag
=
'TreeShakeIcons'
;
/// Whether icon font subsetting is enabled by default.
const
bool
kIconTreeShakerEnabledDefault
=
true
;
List
<
Map
<
String
,
dynamic
>>
_getList
(
dynamic
object
,
String
errorMessage
)
{
if
(
object
is
List
<
dynamic
>)
{
return
object
.
cast
<
Map
<
String
,
dynamic
>>();
...
...
packages/flutter_tools/lib/src/runner/flutter_command.dart
View file @
66af44c9
...
...
@@ -19,7 +19,6 @@ import '../base/utils.dart';
import
'../build_info.dart'
;
import
'../build_system/build_system.dart'
;
import
'../build_system/targets/common.dart'
show
kExtraFrontEndOptions
,
kExtraGenSnapshotOptions
;
// for "useLegacyNames" only
import
'../build_system/targets/icon_tree_shaker.dart'
show
kIconTreeShakerEnabledDefault
;
import
'../bundle.dart'
as
bundle
;
import
'../cache.dart'
;
import
'../dart/generate_synthetic_packages.dart'
;
...
...
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