Skip to content

Commit

Permalink
updated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
coreysprague committed Feb 10, 2020
1 parent 2acecb3 commit 48f9057
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/golden_toolkit/lib/src/font_loader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import 'package:flutter_test/flutter_test.dart';
///
///This font is designed to show black spaces for every character and icon. This obviously makes goldens much less valuable.
///
///To make the goldens more useful, we have a utility to dynamically inject additional fonts into the flutter test engine so that we can get more human viewable output.
/// Path to your folder with fonts [from] in required
Future<void> loadAppFonts({Iterable<String> sourceDirectories}) async {
///To make the goldens more useful, we will automatically load any fonts included in your pubspec.yaml as well as from
///packages you depend on.
Future<void> loadAppFonts() async {
TestWidgetsFlutterBinding.ensureInitialized();
final fontManifest = await rootBundle.loadStructuredData<List<dynamic>>(
'FontManifest.json',
Expand Down

0 comments on commit 48f9057

Please sign in to comment.