onStyleMutation method

Fragment? onStyleMutation(
  1. FluentDocument document,
  2. Fragment leaf,
  3. void mutator(
    1. Fragment
    )
)

Intercepts an inline style mutation on a fragment. Return the modified/new fragment if handled, null otherwise.

Implementation

Fragment? onStyleMutation(FluentDocument document, Fragment leaf, void Function(Fragment) mutator) => null;