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
ba40150e
Unverified
Commit
ba40150e
authored
Aug 05, 2022
by
Pierre-Louis
Committed by
GitHub
Aug 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fonts] Update icons (#108858)
* Update icons * Update icons_test.dart
parent
37de1fa6
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
425 additions
and
5 deletions
+425
-5
material_fonts.version
bin/internal/material_fonts.version
+1
-1
icons.dart
packages/flutter/lib/src/material/icons.dart
+403
-4
icons_test.dart
packages/flutter/test/material/icons_test.dart
+21
-0
No files found.
bin/internal/material_fonts.version
View file @
ba40150e
flutter_infra_release/flutter/fonts/
d76e4de0ef19d04a55bf3117322be9ced21864aa
/fonts.zip
flutter_infra_release/flutter/fonts/
c633fffd8c20eed6cbc0098aec53b27dcd8f34cc
/fonts.zip
packages/flutter/lib/src/material/icons.dart
View file @
ba40150e
This diff is collapsed.
Click to expand it.
packages/flutter/test/material/icons_test.dart
View file @
ba40150e
...
...
@@ -122,6 +122,27 @@ void main() {
await
expectLater
(
find
.
byType
(
Wrap
),
matchesGoldenFile
(
'test.icons.sample3.png'
));
},
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/39998
// Regression test for https://github.com/flutter/flutter/issues/103202.
testWidgets
(
'Another sample of icons look as expected'
,
(
WidgetTester
tester
)
async
{
await
_loadIconFont
();
await
tester
.
pumpWidget
(
MaterialApp
(
home:
IconTheme
(
data:
const
IconThemeData
(
size:
200
),
child:
Wrap
(
children:
const
<
Icon
>[
Icon
(
Icons
.
repeat_on
),
Icon
(
Icons
.
repeat_on_outlined
),
Icon
(
Icons
.
repeat_on_rounded
),
Icon
(
Icons
.
repeat_on_sharp
),
],
),
),
));
await
expectLater
(
find
.
byType
(
Wrap
),
matchesGoldenFile
(
'test.icons.sample4.png'
));
},
skip:
isBrowser
);
// https://github.com/flutter/flutter/issues/39998
}
// Loads the cached material icon font.
...
...
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