StyleContext.invalidate
void invalidate() nothrowInvalidates context style information, so it will be reconstructed again. It is useful if you modify the context and need the new information immediately.
Deprecated
Style contexts are invalidated automatically.