mobileEditorStyle method

dynamic mobileEditorStyle()

Implementation

EditorStyle mobileEditorStyle() {
  return EditorStyle.mobile(
    padding: widget.editorPadding,
    cursorColor: Theme.of(context).colorScheme.primary,
    selectionColor: Theme.of(context).colorScheme.secondaryContainer,
    textStyleConfiguration: widget.textStyleConfiguration ??
        TextStyleConfiguration(
          text: Theme.of(context).textTheme.bodySmall!,
        ),
  );
}