android_system_font_weight 0.3.1
android_system_font_weight: ^0.3.1 copied to clipboard
启动期一次性读取安卓厂商(HyperOS/MIUI、ColorOS、OriginOS、MagicOS 等)的 系统全局可变字重设置,归一化为 wght 轴值。无监听、无刷新,读不到返回 null。
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add android_system_font_weightWith Flutter:
$ flutter pub add android_system_font_weightThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
android_system_font_weight: ^0.3.1Alternatively, your editor might support dart pub get or 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';