mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Dartdoc comment for FontLoader.loadFont (#23882)
This commit is contained in:
parent
3aa104fe60
commit
36b9983212
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user