Skip to content
pubscout

flutter_storyblok

1.4.0, released 7 months ago by alster.se

Integrate Storyblok headless CMS with your Flutter app.

WASM-ready
$ flutter pub add flutter_storyblok
Source repository

What it does

Provides an SDK for the Storyblok Content Delivery API to fetch stories, datasources, and links. It also works with a code generator for type-safe serializing.

AI-written summary of version 1.4.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are using Storyblok as the headless CMS for your Flutter application.
  • You want to fetch stories and content dynamically using the Storyblok API.

Skip it when

  • You are using a different CMS provider than Storyblok.

Strengths

  • Supports exhaustiveness checking and automatic, type-safe serializing when used with the code generator.
  • Includes support for regions outside of the EU.

Weaknesses

  • Limited to Storyblok integration only.
  • Relies on a separate code generator package for full type safety.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Add the dependency to pubspec.yaml and optionally use the code generator package.

final storyblokClient = StoryblokClient(
  accessToken: "<public_access_token>",
  storyContentBuilder: (json) => Blok.fromJson(json),
);
final story = await storyblokClient.getStory(id: StoryIdentifierID(12345));

Alternatives

Packages that do the same job and could replace flutter_storyblok.

  • dio

    If you prefer a robust HTTP client with interceptors and advanced networking features to query Storyblok manually.