CodeMirror Fonts
This package provides the JetBrains Mono Nerd Fonts bundled for use with codemirror_flutter.
Usage
- Add this package to your
pubspec.yaml:
dependencies:
codemirror_fonts: ^0.1.0
-
The fonts will be automatically available in your app under the family name
JetBrainsMono. -
Configure your CodeMirror theme to use it (this is the default in
codemirror_flutterthemes):
TextStyle(
fontFamily: 'JetBrainsMono',
package: 'codemirror_fonts', // Important: specify the package name
)