appearance
Live restyle (e.g. when your app switches theme); an open window updates at once.
public var appearance: AppearanceExample
Section titled “Example”tys.appearance.colorPrimary = TYSColor(hex: "#3b2f26") // an open window restyles at oncetys.appearance = tys.appearance.copy(colorPrimary = 0xFF3B2F26.toInt())setAppearance({ variables: { colorPrimary: "#3b2f26" } });await tys.setAppearance(const Appearance(colorPrimary: Color(0xFF3B2F26)));See also
Section titled “See also”Was this page helpful?
Thank you. We read every answer.