All Projects → BaderEddineOuaich → flutter_syntax_view

BaderEddineOuaich / flutter_syntax_view

Licence: MIT license
Flutter Syntax Highlighter

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to flutter syntax view

syntax highlighter
Syntax Highlighter for Dart/Flutter Code
Stars: ✭ 28 (-68.18%)
Mutual labels:  syntax-highlighting, flutter-package
code editor
A code editor (dart, js, html, ...) for Flutter with syntax highlighting and custom theme.
Stars: ✭ 48 (-45.45%)
Mutual labels:  syntax-highlighting, flutter-package
torchlight-laravel
A Laravel client for Torchlight - the syntax highlighting API.
Stars: ✭ 64 (-27.27%)
Mutual labels:  syntax-highlighting, code-highlighter
nord-notepadplusplus
An arctic, north-bluish clean and elegant Notepad++ theme.
Stars: ✭ 112 (+27.27%)
Mutual labels:  syntax-highlighting
kate-syntax-highlight-v
Syntax highlighting of V files for the Kate editor
Stars: ✭ 17 (-80.68%)
Mutual labels:  syntax-highlighting
shikijs
A JavaScript Library for Syntax Highlighting with Awesome themes
Stars: ✭ 21 (-76.14%)
Mutual labels:  syntax-highlighting
fast-syntax-highlighting
Feature-rich syntax highlighting for ZSH
Stars: ✭ 546 (+520.45%)
Mutual labels:  syntax-highlighting
barcode.flutter
barcode generate library for Flutter
Stars: ✭ 58 (-34.09%)
Mutual labels:  flutter-package
vaporwave-theme-vscode
AESTHETICS
Stars: ✭ 28 (-68.18%)
Mutual labels:  syntax-highlighting
nord-atom-syntax
An arctic, north-bluish clean and elegant Atom syntax theme.
Stars: ✭ 72 (-18.18%)
Mutual labels:  syntax-highlighting
clifm
The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell
Stars: ✭ 825 (+837.5%)
Mutual labels:  syntax-highlighting
chromarkdown
Generate single-file static responsive HTML page from Markdown with syntax-highlighting.
Stars: ✭ 13 (-85.23%)
Mutual labels:  syntax-highlighting
axiom
Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
Stars: ✭ 67 (-23.86%)
Mutual labels:  syntax-highlighting
getwidget-docs
Get Widgets UI library docs.
Stars: ✭ 17 (-80.68%)
Mutual labels:  flutter-package
ace-documentation
A free documentation theme for Hugo, powered by Bootstrap 4. Repsonsive, search, code highlighting and more.
Stars: ✭ 91 (+3.41%)
Mutual labels:  syntax-highlighting
githat
Git diff with code syntax highlight
Stars: ✭ 32 (-63.64%)
Mutual labels:  syntax-highlighting
flutter paging
A small library support load infinite for ListView - GridView on Flutter.
Stars: ✭ 32 (-63.64%)
Mutual labels:  flutter-package
intellij-firebase-highlighter
A Syntax Highlighter for Firebase Rules.
Stars: ✭ 26 (-70.45%)
Mutual labels:  syntax-highlighting
bloc
A predictable state management library that helps implement the BLoC design pattern
Stars: ✭ 12 (-86.36%)
Mutual labels:  flutter-package
flutter auth buttons
Auth Buttons is a flutter widget library, include buttons for authenticating with the most popular social networks.
Stars: ✭ 23 (-73.86%)
Mutual labels:  flutter-package

flutter_syntax_view

Flutter Syntax Highlighter

Usage

  String code = """
// Importing core libraries
import 'dart:math';
int fibonacci(int n) {
  if (n == 0 || n == 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
}          
var result = fibonacci(20);
/* and there 
    you have it! */
""";

  SyntaxView(
      code: code,	// Code text
      syntax: Syntax.DART,	// Language
      syntaxTheme: SyntaxTheme.vscodeDark(),	// Theme
      fontSize: 12.0,	// Font size
      withZoom: true,	// Enable/Disable zoom icon controls
      withLinesCount: true,	// Enable/Disable line number
      expanded: false,	// Enable/Disable container expansion
    )

Supported Syntax

  • Dart
  • C
  • C++
  • Java
  • Kotlin
  • Swift
  • JavaScript
  • YAML

Themes

Installing

Package

Contributing

  • if you are familiar with Regular Expressions in Dart and would like contribute in adding further syntax support. it will be very appreciated!

Contributors

Thanks goes to these wonderful people!

Features and bugs

If you face any problems feel free to open an issue at the issue tracker. If you feel the library is missing a feature, please raise a ticket on Github. Pull request are also welcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].