talira

Compare

retrofit.dartChopperhttp2 (Dart)dio
What it isType-safe HTTP client generator for Dart, built for dioA Retrofit-inspired HTTP client generator for Dart and FlutterHTTP/2 implementation for Dart, with a pooled, multiplexing http.ClientHTTP client for Dart and Flutter with interceptors, FormData and cancellation
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.510.430.670.53
Stars1179744111412842
Last commit2026-11-152026-10-162026-11-252026-10-19
LicenceMITMITBSD-3-ClauseMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyTrevor WangHadrien LejardGoogle
public company (NASDAQ:GOOGL)
Chinese Flutter User Group
Features
  • annotations such as @RestApi, @GET and @POST to declare an API
  • code generation with build_runner and source_gen
  • built on the dio HTTP client
  • pluggable response parsers, with json_serializable by default
  • generated HTTP clients from annotated classes
  • converters for json_serializable and built_value
  • request and response interceptors
  • Flutter Favorite
  • HTTP/2 client and server transport over a bidirectional byte stream
  • Http2Client: a package:http Client that pools and multiplexes requests over shared HTTP/2 connections
  • one connection per host and port, reused across requests
  • global defaults: base URL, headers, timeouts
  • interceptors, including QueuedInterceptor and LogInterceptor
  • FormData and multiple file uploads with progress
  • file downloads and streamed responses
  • request cancellation
  • custom transformers
  • proxy settings and HTTPS certificate verification
  • swappable HttpClientAdapter
  • All 9 features
Limitations
      • Http2Client speaks only HTTP/2 and doesn't fall back to HTTP/1.1: a server that doesn't negotiate h2 is an error.