onLeavesStyleMutation method
List<Fragment> ?
onLeavesStyleMutation(
- FluentDocument document,
- List<
Fragment> leaves, - void mutator()
Intercepts an inline style mutation on a list of fragments. Return the modified/new fragments if handled, null otherwise.
Implementation
List<Fragment>? onLeavesStyleMutation(FluentDocument document, List<Fragment> leaves, void Function(Fragment) mutator) => null;