brcontent 0.1.8 brcontent: ^0.1.8 copied to clipboard
Bloomreach Content Flutter SDK - Features a Dart Page Delivery API Client & a Flutter rendering SDK to attach data from the API the view
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add brcontent
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
brcontent: ^0.1.8
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:brcontent/api.dart';
import 'package:brcontent/api/page_api.dart';
import 'package:brcontent/api_client.dart';
import 'package:brcontent/api_exception.dart';
import 'package:brcontent/api_helper.dart';
import 'package:brcontent/auth/api_key_auth.dart';
import 'package:brcontent/auth/authentication.dart';
import 'package:brcontent/auth/http_basic_auth.dart';
import 'package:brcontent/auth/http_bearer_auth.dart';
import 'package:brcontent/auth/oauth.dart';
import 'package:brcontent/model/abstract_component.dart';
import 'package:brcontent/model/channel.dart';
import 'package:brcontent/model/channel_info.dart';
import 'package:brcontent/model/component.dart';
import 'package:brcontent/model/component_content.dart';
import 'package:brcontent/model/component_meta.dart';
import 'package:brcontent/model/container.dart';
import 'package:brcontent/model/container_item.dart';
import 'package:brcontent/model/data.dart';
import 'package:brcontent/model/document.dart';
import 'package:brcontent/model/element.dart';
import 'package:brcontent/model/elements.dart';
import 'package:brcontent/model/fromjson.dart';
import 'package:brcontent/model/image.dart';
import 'package:brcontent/model/image_data.dart';
import 'package:brcontent/model/imageset.dart';
import 'package:brcontent/model/link.dart';
import 'package:brcontent/model/links.dart';
import 'package:brcontent/model/menu.dart';
import 'package:brcontent/model/menu_data.dart';
import 'package:brcontent/model/menu_item.dart';
import 'package:brcontent/model/page.dart';
import 'package:brcontent/model/page_meta.dart';
import 'package:brcontent/model/pagination.dart';
import 'package:brcontent/model/pagination_page.dart';
import 'package:brcontent/model/pointer.dart';
import 'package:brcontent/widget/application.dart';
import 'package:brcontent/widget/application_state.dart';
import 'package:brcontent/widget/component_statefulwidget.dart';
import 'package:brcontent/widget/component_stateless_widget.dart';
import 'package:brcontent/widget/components_list_view.dart';
import 'package:brcontent/widget/container_list_view.dart';
import 'package:brcontent/widget/mapped_components_list_view.dart';