scale property
Font scale factor, serialised as scale.
from: "flutter" selects the SDK's rnKeys vocabulary, in which the
appearance font block is font: {family, scale}. The previous spelling
(typography: {fontResId, fontSizeSp}) belongs to the SDK's androidKeys
set, which the Flutter path never selects, so the whole font block was
silently discarded on both platforms.
Previously typed as dart:ffi's Float, which is a marker class for native
struct fields: it cannot be constructed and assigning a JSON number to it threw
at runtime. The native side expects a plain number.
Implementation
double? scale;