pinterest_embed_plugin 2.0.0
pinterest_embed_plugin: ^2.0.0 copied to clipboard
A Flutter plugin for embedding Pinterest boards and profiles on the web. Seamlessly integrate a Pinterest-like user experience into your web application.
Pinterest Embed Web #
A Flutter plugin for embedding Pinterest boards into Flutter web applications.
๐ฆ Installation #
Add the following dependency to your pubspec.yaml file:
dependencies:
pinterest_embed_web:
git:
url: https://github.com/blubnana-org/pinterest_embed_web.git
๐ Usage #
To embed a Pinterest board, use the PinterestEmbedPlugin widget:
import 'package:pinterest_embed_plugin/pinterest_embed_plugin.dart';
PinterestEmbedPlugin(
boardUrl:'your-board-id',
boardWidth: _boardWidthMobile,
scaleHeight: _scaleHeightMobile,
scaleWidth: _scaleWidthMobile,
)
Replace 'your-board-id' with the actual ID of the Pinterest board you wish to embed.
๐งฉ Features #
- Embed Pinterest boards seamlessly into Flutter web applications.
- Customizable width and height for responsive design.
- Lightweight and easy to integrate.
โ Supported Platforms #
- Web
๐งช Example #
For a complete example, refer to the example directory.
๐ License #
This package is licensed under the MIT License. See the LICENSE file for more details.
๐ค Contributing #
Contributions are welcome! Please fork the repository, create a new branch, and submit a pull request with your proposed changes.
๐ข Acknowledgements #
This package utilizes the HtmlElementView widget, which allows embedding HTML elements into Flutter web applications.