native_font 1.1.1 copy "native_font: ^1.1.1" to clipboard
native_font: ^1.1.1 copied to clipboard

A plugin for lazily loading fonts from native side, supporting ttf and otf formats.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add native_font
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  native_font: ^1.1.1
copied to clipboard

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:native_font/native_font.dart';
copied to clipboard
8
likes
150
points
198
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.13 - 2025.03.28

A plugin for lazily loading fonts from native side, supporting ttf and otf formats.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on native_font