Language: flutter Runtime: flutter Version: >=3.3.0 <4.0.0 Package Manager: pub
The following are the discovered package usage guides for this workspace. FOLLOW THEIR GUIDANCE CAREFULLY. Not all packages have discoverable guidance files.
# shadcn_flutter — Usageshadcn_flutter is a Flutter component library inspired by shadcn/ui. It brings a consistent, modern design system to Flutter with polished, themeable widgets that feel at home on mobile and desktop.
- Create a Flutter project
flutter create my_app
cd my_app- Add the dependency
flutter pub add shadcn_flutter- Import the package
import 'package:shadcn_flutter/shadcn_flutter.dart';- Use ShadcnApp in main()
void main() {
runApp(
ShadcnApp(
title: 'My App',
home: MyHomePage(),
),
);
}- Run the app
flutter runUse a Git dependency to track the latest changes. Not recommended for production.
dependencies:
shadcn_flutter:
git:
url: "https://github.com/sunarya-thito/shadcn_flutter.git"</usage_guide>