@@ -1 +1 @@
|
||||
flutter_infra_release/flutter/fonts/3ebf18904a0b2d50fe311ff41e9e1e4894bc270d/fonts.zip
|
||||
flutter_infra_release/flutter/fonts/d76e4de0ef19d04a55bf3117322be9ced21864aa/fonts.zip
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,6 @@ import 'package:file/file.dart';
|
||||
import 'package:file/local.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:platform/platform.dart';
|
||||
|
||||
@@ -103,6 +102,26 @@ void main() {
|
||||
|
||||
await expectLater(find.byType(Wrap), matchesGoldenFile('test.icons.sample2.png'));
|
||||
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/39998
|
||||
|
||||
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.electric_bolt),
|
||||
Icon(Icons.electric_bolt_outlined),
|
||||
Icon(Icons.electric_bolt_rounded),
|
||||
Icon(Icons.electric_bolt_sharp),
|
||||
],
|
||||
),
|
||||
),
|
||||
));
|
||||
|
||||
await expectLater(find.byType(Wrap), matchesGoldenFile('test.icons.sample3.png'));
|
||||
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/39998
|
||||
}
|
||||
|
||||
// Loads the cached material icon font.
|
||||
|
||||
Reference in New Issue
Block a user