samples

A collection of Dart code samples by Dart DevRel (by dart-lang)

Samples Alternatives

Similar projects and alternatives to samples

  1. Nest

    390 samples VS Nest

    A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀

  2. Shorebird

    Shorebird - Patch in minutes not days. Shorebird powers rapid development with CodePush and optimized CI pipelines designed specifically for Flutter.

    Shorebird logo
  3. http

    36 samples VS http

    A composable API for making HTTP requests in Dart. (by dart-lang)

  4. shelf

    33 samples VS shelf

    Web server middleware for Dart

  5. cbor-java

    Java implementation of RFC 7049: Concise Binary Object Representation (CBOR)

  6. alfred

    A performant, expressjs like server framework with a few gadgets that make life even easier.

  7. websocat

    Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions

  8. browser-websocket-client

    Browser WebSocket Client is an extension for Chrome that provides a simple method for testing a WebSocket server. It allows you to send and receive raw JSON messages as well as save server URLs, protocols, and messages for later use.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. Weasel

    WebSocket Client / Console (by mhgolkar)

  11. claws

    Awesome WebSocket CLient - an interactive command line client for testing websocket servers (by thehowl)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better samples alternative or higher similarity.

samples discussion

Log in or Post with

samples reviews and mentions

Posts with mentions or reviews of samples. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-05-20.
  • Dealing with WebSocket in Dart
    8 projects | dev.to | 20 May 2026
    Most of them are using shelf or http_server as backend, not sure if it's really necessary to test them all one by one. Anyway, I will use shelf for one reason: this is not a framework, and it is maintained by the Dart team. I'm a bit sad though, because I can't find a lot of documentation, except the official API. To use WebSocket with shelf, the shelf_web_socket handler is required, again, only the API documentation can easily be found. A full example can be found in server/simple directory from dart source code.
  • Is http_server package discontinued?
    3 projects | /r/dartlang | 21 Sep 2021
    See also: https://github.com/dart-lang/samples/tree/master/server/simple
  • Dart ffi : Failed to load dynamic library (Gcc/Windows)
    1 project | /r/dartlang | 25 Apr 2021
    While trying to run the helloworld sample (here) for dart:ffi on Windows 10, the generated dll fails to load.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 17 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic samples repo stats
3
656
5.6
about 1 month ago

dart-lang/samples is an open source project licensed under BSD 3-clause "New" or "Revised" License which is an OSI approved license.

The primary programming language of samples is Dart.


Sponsored
Shorebird - Patch in minutes not days
Shorebird powers rapid development with CodePush and optimized CI pipelines designed specifically for Flutter.
shorebird.dev

Did you know that Dart is
the 20th most popular programming language
based on number of references?