discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

loadExportFont function

Future<Uint8List> loadExportFont([
  1. AssetBundle? bundle
])

Reads the bundled font's bytes from bundle (rootBundle when null).

Implementation

Future<Uint8List> loadExportFont([AssetBundle? bundle]) async {
  final data = await (bundle ?? rootBundle).load(kExportFontAsset);
  return data.buffer.asUint8List(data.offsetInBytes, data.lengthInBytes);
}