updateTheme property
Use endpoint to instruct protocol to update the instance value of theme during it's usage based on context. Same as setting theme to:
(context) {
updateTheme(context.theme)
}
Implementation
final UpdateTheme updateTheme;
Use endpoint to instruct protocol to update the instance value of theme during it's usage based on context. Same as setting theme to:
(context) {
updateTheme(context.theme)
}
final UpdateTheme updateTheme;