CodeMirror Fonts

This package provides the JetBrains Mono Nerd Fonts bundled for use with codemirror_flutter.

Usage

  1. Add this package to your pubspec.yaml:
dependencies:
  codemirror_fonts: ^0.1.0
  1. The fonts will be automatically available in your app under the family name JetBrainsMono.

  2. Configure your CodeMirror theme to use it (this is the default in codemirror_flutter themes):

TextStyle(
  fontFamily: 'JetBrainsMono',
  package: 'codemirror_fonts', // Important: specify the package name
)

Libraries