light_html_editor 0.0.1
light_html_editor: ^0.0.1 copied to clipboard
A lightweight HTML editor for Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add light_html_editorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
light_html_editor: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:light_html_editor/editor.dart';
import 'package:light_html_editor/placeholder.dart';
import 'package:light_html_editor/renderer.dart';
import 'package:light_html_editor/richtext/buttons/color_button.dart';
import 'package:light_html_editor/richtext/buttons/custom_button.dart';
import 'package:light_html_editor/richtext/buttons/font_button.dart';
import 'package:light_html_editor/richtext/buttons/text_button.dart';
import 'package:light_html_editor/richtext/color_utils.dart';
import 'package:light_html_editor/richtext/richtext_node.dart';
import 'package:light_html_editor/richtext/text_constants.dart';