notion_api 0.0.1-beta1 notion_api: ^0.0.1-beta1 copied to clipboard
A client for the public beta of the Notion API
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add notion_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
notion_api: ^0.0.1-beta1
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:notion_api/models/children.dart';
import 'package:notion_api/models/pages.dart';
import 'package:notion_api/models/rich_text/colors.dart';
import 'package:notion_api/models/rich_text/heading.dart';
import 'package:notion_api/models/rich_text/notion_types.dart';
import 'package:notion_api/models/rich_text/paragraph.dart';
import 'package:notion_api/models/rich_text/text.dart';
import 'package:notion_api/notion.dart';
import 'package:notion_api/notion_blocks.dart';
import 'package:notion_api/notion_databases.dart';
import 'package:notion_api/notion_pages.dart';
import 'package:notion_api/statics.dart';