Dartdoc comment for FontLoader.loadFont (#23882)

This commit is contained in:
Jason Simmons
2018-11-02 13:22:09 -07:00
committed by GitHub
parent 3aa104fe60
commit 36b9983212

View File

@@ -65,6 +65,10 @@ class FontLoader {
return Future.wait(loadFutures.toList());
}
/// Hook called to load a font asset into the engine.
///
/// Subclasses may override this to replace the default loading logic with
/// custom logic (for example, to mock the underlying engine API in tests).
@protected
@visibleForTesting
Future<void> loadFont(Uint8List list, String family) {