flutter_wordpress_content 1.0.1 flutter_wordpress_content: ^1.0.1 copied to clipboard
Flutter widget to help parse & render WordPress raw content
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_wordpress_content
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_wordpress_content: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_wordpress_content/external/IssuuWidget.dart';
import 'package:flutter_wordpress_content/external/SoundCloudWidget.dart';
import 'package:flutter_wordpress_content/external/YouTubeWidget.dart';
import 'package:flutter_wordpress_content/model/Paragraph.dart';
import 'package:flutter_wordpress_content/model/SimpleArticle.dart';
import 'package:flutter_wordpress_content/wp_content.dart';
import 'package:flutter_wordpress_content/wp_parser.dart';