A Flutter package providing a customizable code text field with syntax highlighting for 189 languages and 90 themes.
CodeField is a Flutter package that provides a customizable text field widget with real-time syntax highlighting for code editing. It solves the problem of embedding code editors in Flutter applications by offering a rich, themeable, and cross-platform solution that supports numerous programming languages.
Flutter developers building applications that require embedded code editors, such as IDEs, educational tools, code snippet managers, or scripting environments.
Developers choose CodeField for its extensive language support, ease of customization, and seamless integration with Flutter's widget system, eliminating the need to build a code editor from scratch.
A customizable code text field supporting syntax highlighting
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integrates with flutter_highlight to offer syntax highlighting for 189 languages and 90 themes, making it versatile for various programming environments.
Provides a TextField-like API for styling control, plus patternMap and stringMap for custom regex or word-wise highlighting, as shown in the README examples.
Works seamlessly across Android, iOS, Web, and desktop platforms, ensuring consistent code editing experiences in Flutter apps.
Includes default modifiers for automatic indentation, tab-to-space conversion, and block closing, reducing manual formatting effort.
As noted in the README, autocomplete disabling on Android doesn't work yet, which can hinder user experience in mobile code editors.
Breaking changes in Flutter beta/dev channels require using a separate branch, adding complexity for teams on cutting-edge versions.
Lacks built-in support for code folding, multi-cursor editing, or search/replace, making it less suitable for full IDE implementations.