light_html_editor 0.0.5 copy "light_html_editor: ^0.0.5" to clipboard
light_html_editor: ^0.0.5 copied to clipboard

outdated

A lightweight HTML editor for Flutter. Provides functionality to edit and parse simple HTML code.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:light_html_editor/light_html_editor.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'HTML Editor Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        backgroundColor: Colors.grey,
        body: Center(
          child: SizedBox(
            width: 400,
            child: RichTextEditor(
              placeholders: [
                RichTextPlaceholder(
                    "VAR", "Some longer text that got shortened!"),
              ],
              onChanged: (String html) {
                // do something with the richtext
              },
            ),
          ),
        ),
      ),
    );
  }
}
14
likes
0
points
192
downloads

Publisher

verified publishermanuelh.at

Weekly Downloads

A lightweight HTML editor for Flutter. Provides functionality to edit and parse simple HTML code.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on light_html_editor