onTextsChanged method
Implementation
void onTextsChanged(TextStyles texts) {
emit(state.copyWith(
textStyles: Map.fromEntries(texts.map((e) => MapEntry(e.name, e)))));
}
void onTextsChanged(TextStyles texts) {
emit(state.copyWith(
textStyles: Map.fromEntries(texts.map((e) => MapEntry(e.name, e)))));
}