Dartdoc comment for FontLoader.loadFont (#23882)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user