shortkit_flutter 0.2.14 copy "shortkit_flutter: ^0.2.14" to clipboard
shortkit_flutter: ^0.2.14 copied to clipboard

ShortKit Flutter SDK — short-form video feed, player, and widget components.

ShortKit Flutter SDK #

Short-form video feed, player, and widget components for Flutter apps.

pub package

Requirements #

  • Flutter 3.16+
  • iOS 16.0+
  • Android API 24+

Installation #

dependencies:
  shortkit_flutter: ^0.2.14

Then run flutter pub get.

iOS Setup #

No additional setup is required. The native ShortKitSDK XCFramework is bundled with the package.

Android Setup #

No additional setup is required. The native ShortKit Android SDK is resolved automatically via Maven Central.

Usage #

Initialize ShortKit #

Wrap your app (or a subtree) with ShortKitProvider to initialize the SDK:

import 'package:shortkit_flutter/shortkit_flutter.dart';

ShortKitProvider(
  publishableKey: 'your-publishable-key',
  child: MyApp(),
)

Video Feed #

Display a vertical short-form video feed:

ShortKitFeed(
  config: FeedConfig(
    height: FeedHeight.full,
  ),
)

Single Player #

Embed a single video player:

ShortKitPlayer(
  config: PlayerConfig(
    contentId: 'your-content-id',
  ),
)

Widget #

Embed a video widget:

ShortKitWidget(
  config: WidgetConfig(
    contentId: 'your-content-id',
  ),
)

Feed Controller #

Control the feed programmatically:

final controller = ShortKitFeedController();

ShortKitFeed(
  controller: controller,
  config: FeedConfig(),
)

// Navigate programmatically
controller.goToNext();
controller.goToPrevious();

Documentation #

For full documentation, visit shortkit.dev.

License #

MIT

0
likes
140
points
102
downloads

Documentation

API reference

Publisher

verified publishershortkit.dev

Weekly Downloads

ShortKit Flutter SDK — short-form video feed, player, and widget components.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, meta, uuid

More

Packages that depend on shortkit_flutter

Packages that implement shortkit_flutter