Unverified Commit ba40150e authored by Pierre-Louis's avatar Pierre-Louis Committed by GitHub

[Fonts] Update icons (#108858)

* Update icons

* Update icons_test.dart
parent 37de1fa6
flutter_infra_release/flutter/fonts/d76e4de0ef19d04a55bf3117322be9ced21864aa/fonts.zip flutter_infra_release/flutter/fonts/c633fffd8c20eed6cbc0098aec53b27dcd8f34cc/fonts.zip
...@@ -122,6 +122,27 @@ void main() { ...@@ -122,6 +122,27 @@ void main() {
await expectLater(find.byType(Wrap), matchesGoldenFile('test.icons.sample3.png')); await expectLater(find.byType(Wrap), matchesGoldenFile('test.icons.sample3.png'));
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/39998 }, 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. // Loads the cached material icon font.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment