PackageTrack
Sign in Get early access

android_system_font_weight

启动期一次性读取安卓厂商(HyperOS/MIUI、ColorOS、OriginOS、MagicOS 等)的 系统全局可变字重设置,归一化为 wght 轴值。无监听、无刷新,读不到返回 null。

0.3.3

What this package is like to depend on

Last release 26 days ago

29 Jul 2026

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

1 months old

5 releases · first in 2026

5 releases in the last 12 months

see the full history below

Release timeline

5 releases · Jul 2026 to Jul 2026
Release Pre-release

Releases

latest 5
  1. 0.3.3 29 Jul 2026
    Release notes
    • Web 编译修复:JNI / dart:io 移入 dart.library.io 条件导入分支,web 走 stub(恒返回空 Map / null),宿主(如 el_ui)可正常 flutter build web
    Open source →
  2. 0.3.2 21 Jul 2026
    Release notes
    • README rewritten in English, trimmed to a quick intro + plain Flutter Text/TextStyle usage example.
    Open source →
  3. 0.3.1 21 Jul 2026
    Release notes
    • compileSdk 34 → 36(package:jni 要求 ≥35,34 会直接编译失败)。
    Open source →
  4. 0.3.0 21 Jul 2026
    Release notes
    • 全同步 API(breaking):跟随 Flutter 3.29+ 平台/UI 线程合并的官方互操作 路径,Dart 经 package:jni 直呼原生静态方法,getAll/getWght/ getVendor 均改为同步——消费方(如 ElApp)首帧即可注入,无重排闪动。 MethodChannel 退役;原生拆为 SystemFontWeightCollector(@JvmStatic 哑 采集器,返回 U+001E/U+001F 编码字符串)+ 插件类(仅注册期缓存 Context)。
    • release 混淆保活:consumer-rules.pro 保留 JNI 按名查找的采集器类。
    Open source →
  5. 0.2.0 20 Jul 2026
    Release notes
    • 架构重分层(breaking):原生只保留唯一 API getAll(哑采集器,返回全量 原始参数 Map),取值决策全部上移 Dart——getVendor()/vendorOf() 厂商 判定独立成 API,extractWght() 按厂商挑键 + normalize() 值域归一化, getWght() 保持一步到位入口不变。移除原生 getWght/debugDump 方法, Dart 侧 debugDump() 更名 getAll({refresh})(带缓存)。
    • 墨水探针返回值取整(wght 轴按整数消费)。
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive