GlassStyle
Creates a GlassStyle which runs block whenever a node resolves its style.
block does not run during this call. It may run on any frame, so it must not have side effects. It may read snapshot state: each consuming node observes those reads and applies a change on the next frame without recomposition. Styles compare by identity, so remember or hoist a Style rather than constructing one in each composition. Invalid values throw IllegalArgumentException when block runs.