html_renderer 0.0.7 copy "html_renderer: ^0.0.7" to clipboard
html_renderer: ^0.0.7 copied to clipboard

A lightweight Flutter package for rendering HTML content with customizable styling and widget support.

example/example.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('html_renderer Example')),
        body: HtmlRenderer(
          html:
              "<h1>Hello World</h1><p>This is an example of html_renderer.</p>",
        ),
      ),
    );
  }
}
5
likes
160
points
22
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter package for rendering HTML content with customizable styling and widget support.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on html_renderer