[web] fix hot restart type error (flutter/engine#22248)

This commit is contained in:
Jonah Williams
2020-11-02 08:55:32 -08:00
committed by GitHub
parent 4512036697
commit 08e76f8416

View File

@@ -17,7 +17,7 @@ const String _robotoUrl =
class SkiaFontCollection {
/// Fonts that have been registered but haven't been loaded yet.
final List<Future<_RegisteredFont?>> _unloadedFonts =
<Future<_RegisteredFont>>[];
<Future<_RegisteredFont?>>[];
/// Fonts which have been registered and loaded.
final List<_RegisteredFont> _registeredFonts = <_RegisteredFont>[];