flutcn 0.1.0
flutcn: ^0.1.0 copied to clipboard
A CLI tool for adding pre-styled Flutter UI components to existing projects
flutcn #
A CLI tool for adding pre-styled Flutter UI components to existing projects, inspired by shadcn/ui.
Installation #
dart pub global activate flutcn
Usage #
Add a pre-styled component to your Flutter project:
flutcn add <component-name>
Available components:
- button: A customizable button with variants and loading state
- card: A styled card component with customizable elevation and padding
Component Location #
Components are created in the lib/ui directory by default. You can specify a custom directory using the --output-dir option:
flutcn add button --output-dir=lib/components
Contributing #
Contributions are welcome! Please feel free to submit a Pull Request.