core/rendering/base/style_layering library

Functions

layerStyles(Map<String, String> base, List<Map<String, String>?> overrides) Map<String, String>
Applies each map in overrides onto base so that every overridden key ends up LAST in iteration order — and therefore last in the emitted inline style attribute, where it wins.