characterStyleOverrides property
Array with same number of elements as characeters in text box, each element is a reference to the styleOverrideTable defined below and maps to the corresponding character in the characters field. Elements with value 0 have the default type style.
Implementation
final List<int>? characterStyleOverrides;