Welcome to Shadcn UI for Flutter.
This is the official documentation for Shadcn UI for Flutter.
The work is still in progress.
Installation
Run this command in your terminal from your project root directory:
or manually adding to your pubspec.yaml:
Shadcn (pure)
Use the ShadApp widget if you want to use just the ShadcnUI components, without Material or Cupertino.
Shadcn + Material
We are the first Flutter UI library to allow shadcn components to be used simultaneously with Material components.
The setup is simple:
The ShadApp widget automatically creates a Material ThemeData.
If you need to customize the Material theme use materialThemeBuilder:
Shadcn + Cupertino
If you need to use shadcn components with Cupertino components, use ShadApp.cupertino.
The ShadApp widget automatically creates a CupertinoThemeData and a Material ThemeData.
If you need to customize the Material theme use materialThemeBuilder, and cupertinoThemeBuilder to customize the Cupertino theme: