android_system_font_weight 0.4.0 copy "android_system_font_weight: ^0.4.0" to clipboard
android_system_font_weight: ^0.4.0 copied to clipboard

PlatformAndroid

同步采集安卓系统字重原始 Map,提供 OPPO、小米、vivo、荣耀的取值参考函数。 调用方可自定义兼容策略;无法确定字重时返回 null,保留原有字体样式。

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add android_system_font_weight

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

dependencies:
  android_system_font_weight: ^0.4.0

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:android_system_font_weight/android_system_font_weight.dart';
0
likes
145
points
142
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

同步采集安卓系统字重原始 Map,提供 OPPO、小米、vivo、荣耀的取值参考函数。 调用方可自定义兼容策略;无法确定字重时返回 null,保留原有字体样式。

License

MIT (license)

Dependencies

flutter, jni

More

Packages that depend on android_system_font_weight

Packages that implement android_system_font_weight