copyWithNewStyleFamily method
StyleSelectionInitialized
copyWithNewStyleFamily(
- StyleFamily styleFamily,
- List<
Style> allStyles
override
Implementation
@override
StyleSelectionInitialized copyWithNewStyleFamily(
StyleFamily styleFamily, List<Style> allStyles) {
return StyleSelectionInitializedWithoutSelection(
families: StyleSelectionInitialized.copyAndReplace(
families, StyleFamilyState(styleFamily, allStyles)));
}