SetCompositionParametersSegments constructor

SetCompositionParametersSegments({
  1. required int start,
  2. required int end,
  3. required UnderlineStyle style,
})

Implementation

SetCompositionParametersSegments({
  /// Index of the character to start this segment at
  required int start,

  /// Index of the character to end this segment after.
  required int end,

  /// The type of the underline to modify this segment.
  required UnderlineStyle style,
}) : _wrapped = $js.SetCompositionParametersSegments(
        start: start,
        end: end,
        style: style.toJS,
      );