loadSystemFontsImpl function

Future<FontFallbackChain> loadSystemFontsImpl({
  1. List<String>? preferredFonts,
  2. int maxFonts = 5,
  3. GraphicsFileSystem? filesystem,
})

Implementation

Future<FontFallbackChain> loadSystemFontsImpl({
  List<String>? preferredFonts,
  int maxFonts = 5,
  GraphicsFileSystem? filesystem,
}) {
  throw UnsupportedError(
    'System font loading requires dart:io. Import package:libgfx/io/font_fallback_loader_io.dart on IO platforms.',
  );
}