Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

SDK dart

How to build and extend the Flutter SDK in sdks/dart.

Free on GitHubMobile apps

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: sdk-dart
description: How to build and extend the Flutter SDK in sdks/dart. Read this before changing stream_agents (its core, chat or rtc area), the Flutter demo's use of Stream's AI components, or before adding a Dart client for a new endpoint.
---

# Dart SDK conventions

The per-language half of [sdk](../sdk/SKILL.md). It records the decisions the packages in
[`sdks/dart`](../../../sdks/dart) already follow, so a change lands consistently rather than
re-litigating them. It is a **client-side** SDK: what a phone, a browser or a desktop app does.
Folder sync, dispatch and writing configs are backend work and stay out.

Dart 3.12 and Flutter 3.44 are the floors, because Stream Chat 10.4's are; Stream Video 1.6's
are lower.

## The package

One Flutter package, `stream_agents` in `sdks/dart/stream_agents`. Inside it, three areas:

```
lib/src/core  pure Dart: generated client, socket, conversation state
lib/src/chat  pure Dart: the conversation's Stream Chat channel   -> core
lib/src/rtc   joining the call over Stream Video                  -> core
```

Each area is self-contained: `lib/src/<area>` and `test/<area>` hold all of it, and the only way
in from another area is one import. `test/area_boundaries_test.dart` enforces it:

1. `core` imports only its own files, `dart:async`, `collection`, `convert`, `math`,
   `typed_data`, `http`, `meta` and `web_socket`: an allowlist, so a dependency added for `rtc`
   cannot slip in. `chat` adds `stream_chat` and `core`'s barrel to that list.
2. `chat` and `rtc` reach `core` only, never each other.
3. Across areas, only through the area's barrel (`package:stream_agents/src/core/core.dart`);
   inside one, relative imports.
4. `stream_chat` is `chat`'s alone; `stream_video_flutter` and `image` are `rtc`'s.
5. A test under `test/<area>` imports its own area (barrel or internals), the barrels its area
   reaches, or, in `rtc` only, `package:stream_agents/stream_agents.dart`. `test/core` and
   `test/chat` import no Flutter. Every test but the boundary test is under an area.

`lib/stream_agents.dart` is the only public library and exports the three barrels. A new public
...

From GetStream's repository, Apache-2.0 licence.

Related skills

  • Checked

    Android Gradle Plugin upgrade

    Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    CocoaPods to SwiftPM

    Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    Kotlin Native build speed

    Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.

    by Kotlin 1.1k
    7/101 credit
  • Checked

    SwiftUI Liquid Glass

    Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.

    by FloWritesCode 476
    7/101 credit
  • Checked

    Native Mobile App Design

    Designs Expo and React Native screens that feel truly native, with proper navigation, motion and dark mode.

    by Appllama 5.7k
    7/101 credit
  • Checked

    Offline Android LLM apps

    Builds an Android app that runs an open LLM on the phone with LiteRT, so it works without a server.

    by android 11k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added