discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

bytes property

Future<Uint8List> get bytes

The font's bytes; every call after the first returns the same future.

Implementation

Future<Uint8List> get bytes {
  final pending = _bytes;
  if (pending != null) return pending;
  final next = _load();
  _bytes = next;
  next.then<void>((_) {}, onError: (Object _) {
    if (identical(_bytes, next)) _bytes = null;
  });
  return next;
}