Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 1.46 KB

File metadata and controls

76 lines (56 loc) · 1.46 KB
This workspace uses the *Dotguides* system for providing context-aware coding guidance for open source packages it uses. Use the `read_docs` tool to load documentation files relevant to specific tasks.

Detected Languages

Language: flutter Runtime: flutter Version: >=3.3.0 <4.0.0 Package Manager: pub

Package Usage Guides

The following are the discovered package usage guides for this workspace. FOLLOW THEIR GUIDANCE CAREFULLY. Not all packages have discoverable guidance files.

# shadcn_flutter — Usage

shadcn_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.

Installation (stable)

  1. Create a Flutter project
flutter create my_app
cd my_app
  1. Add the dependency
flutter pub add shadcn_flutter
  1. Import the package
import 'package:shadcn_flutter/shadcn_flutter.dart';
  1. Use ShadcnApp in main()
void main() {
  runApp(
    ShadcnApp(
      title: 'My App',
      home: MyHomePage(),
    ),
  );
}
  1. Run the app
flutter run

Installation (experimental)

Use 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>