Style.variesWithState

You must override this to trigger automatic redraws if you ever uses the dynamicState flag in your style.

class Style
bool
variesWithState

Meta

History

Added May 11, 2021, but changed on July 2, 2021 to return false by default. You MUST override this if you want declarative hover effects etc to take effect.