Skip to content
pubscout

shadcn_flutter

0.0.55, released 7 weeks ago by sunaryathito.space

A cohesive shadcn/ui ecosystem for Flutter with components, theming, and zero Material dependency.

WASM-ready
$ flutter pub add shadcn_flutter
Source repository

What it does

Provides over 84 UI components and design tokens built on the shadcn/ui design system for Flutter applications across mobile, web, and desktop. It runs on package:flutter/widgets.dart alone without importing Material or Cupertino, while offering optional companion packages for interop.

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

Use it when

  • You want to build an application using the shadcn/ui design system in Flutter.
  • You want a standalone UI kit that does not depend on Material or Cupertino out of the box.

Skip it when

  • You are strictly committed to the standard Material Design guidelines without custom styling.
  • You want a minimal widget set and do not need a complete UI ecosystem.

Strengths

  • Large component library with over 84 widgets.
  • Standalone ecosystem with no hard dependency on material_ui or cupertino_ui.
  • First-class support across Android, iOS, Web, macOS, Windows, and Linux.

Weaknesses

  • Requires companion packages (shadcn_flutter_material or shadcn_flutter_cupertino) if mixing with standard Material or Cupertino widgets.
  • Translations have not yet been fully checked by native speakers.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Add shadcn_flutter to pubspec.yaml. Optionally add shadcn_flutter_material or shadcn_flutter_cupertino for interop with Material or Cupertino widgets.

MaterialShadcnApp(
  theme: ThemeData(colorScheme: ColorSchemes.lightZinc, radius: 0.5),
  home: Scaffold(
    appBar: AppBar(title: const Text('Hybrid app')),
    body: const Center(child: PrimaryButton(child: Text('shadcn'))),
  ),
);

Alternatives

Packages that do the same job and could replace shadcn_flutter.

Works with

Packages commonly used together with shadcn_flutter: ones it builds on, ones built on it, and its own family.