formatDoubleAsterisksToBold top-level property

CharacterShortcutEvent formatDoubleAsterisksToBold
final

format the text surrounded by double asterisks to bold

  • support
    • desktop
    • mobile
    • web

Implementation

final CharacterShortcutEvent formatDoubleAsterisksToBold =
    CharacterShortcutEvent(
  key: 'format the text surrounded by double asterisks to bold',
  character: _asterisk,
  handler: (editorState) async => handleFormatByWrappingWithDoubleCharacter(
    editorState: editorState,
    character: _asterisk,
    formatStyle: DoubleCharacterFormatStyle.bold,
  ),
);