Skip to content

MuscleWiki/flutter_html_table_extension

 
 

Repository files navigation

flutter_html_table_extension

Features

It renders tables easily with flutter_html version ^3.0.0-beta.2.

Getting started

Put flutter_html_table_extension in your pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter

  flutter_html: ^3.0.0-beta.2
  flutter_html_table_extension: 0.0.1-beta.1

Install the dependencies:

flutter pub get

Usage

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text("flutter_html_table_extension"),
      ),
      body: Html(
        data:
            '<table><tr><td>Row 1 Col 1</td><td>Row 1 Col 2</td></tr><tr><td>Row 2 Col 1</td><td>Row 2 Col 2</td></tr></table>',
        extensions: [
          HtmlTableExtension(),
        ],
      ),
    );
  }
}

About

Render tables easily for flutter_html 3.0.0-beta.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 44.0%
  • CMake 36.8%
  • Dart 9.4%
  • HTML 3.5%
  • Swift 3.3%
  • C 2.7%
  • Other 0.3%