flutter_html_table_extension 0.0.1-beta.1 copy "flutter_html_table_extension: ^0.0.1-beta.1" to clipboard
flutter_html_table_extension: ^0.0.1-beta.1 copied to clipboard

Render tables easily for flutter_html 3.0.0-beta.2

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, required this.title});

  final String title;

  @override
  Widget build(BuildContext context) {
    //
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(title),
      ),
      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(),
        ],
      ),
    );
  }
}
0
likes
0
pub points
51%
popularity

Publisher

unverified uploader

Render tables easily for flutter_html 3.0.0-beta.2

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_html

More

Packages that depend on flutter_html_table_extension