Explore 26+ production-ready components, comprehensive guides, and complete API reference on our GitHub Pages site.
Flutter Beautify is a command-line interface tool that dramatically accelerates Flutter development by providing:
- 26 Production-Ready UI Components - Professionally designed widgets following Material Design 3
- 60+ Factory Method Variants - 3-4 customizable versions of each component
- Zero Dependencies - Uses only Flutter's built-in Material widgets
- Material Design 3 Compliant - Always aligned with latest design standards
- Rapid Code Generation - Scaffold components in seconds via CLI
- 100% Customizable - Full control over colors, sizes, and behavior
- Comprehensive Examples - Real-world usage patterns and demos
- Production-Ready Code - Enterprise-grade quality, no compromises
dart pub global activate flutter_beautifycd your_flutter_project
flutter_beautify initflutter_beautify add buttonimport 'package:your_app/widgets/button.dart';
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: FBButton.solid(
label: 'Click Me',
onPressed: () => print('Tapped!'),
),
),
);
}
}Input fields, checkboxes, radio buttons, switches, and sliders for user data collection.
FBTextField.outlined(label: 'Email', hint: 'Enter email')
FBCheckbox.withLabel(label: 'I agree')
FBRadioButton.withLabel(label: 'Option 1')
FBSwitch.withLabel(label: 'Dark Mode')
FBSlider.labeled(value: 50, min: 0, max: 100)Multiple button styles, icon buttons, FABs, and toggle buttons.
FBButton.solid(label: 'Save', onPressed: save)
FBButton.outlined(label: 'Cancel', onPressed: cancel)
FBIconButton.filled(icon: Icons.delete, onPressed: delete)
FBFAB.extended(icon: Icons.add, label: 'New')Cards, bottom sheets, sidebars, breadcrumbs, and accordions.
FBCard.elevated(child: content)
FBBottomSheet.modal(title: 'Options', child: menu)
FBSidebar.collapsible(items: navItems)
FBBreadcrumb.clickable(items: paths)
FBAccordion.basic(items: sections)AppBars, bottom navigation, tabs, pagination, and avatars.
FBAppBar.withActions(title: 'My App', actions: buttons)
FBBottomNavigationBar.labeled(items: navItems)
FBTabs.basic(tabs: tabList)
FBPagination.basic(currentPage: 1, totalPages: 10)
FBAvatar.image(imageUrl: 'https://...')Progress bars, loaders, spinners, and toast notifications.
FBLinearProgress.animated(value: 0.65)
FBCircularProgress.labeled(value: 0.75, label: '75%')
FBCircularLoader.dots(size: 48)
FBToast.success(message: 'Saved!')Dialogs, snackbars, badges, and tooltips.
FBDialog.confirm(title: 'Delete?', onConfirm: delete)
FBSnackbar.action(message: 'Undo', onAction: undo)
FBBadge.number(count: 5)
FBTooltip.basic(message: 'Save your work')// Repetitive boilerplate for every button
ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.blue,
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 12),
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8)),
elevation: 4,
),
onPressed: () => handleClick(),
child: Text('Click Me'),
)
// Same for hundreds of other components...// Clean, consistent, production-ready
FBButton.solid(
label: 'Click Me',
onPressed: () => handleClick(),
)That's it. No styling boilerplate. No Material Design compliance worries. Just use it.
| Feature | Flutter Beautify | Manual Approach |
|---|---|---|
| Setup Time | < 5 minutes | Hours/Days |
| Code Per Component | 1-2 lines | 10-20 lines |
| Design Consistency | ✅ Guaranteed | ❌ Manual maintenance |
| Material Design 3 | ✅ Built-in | ❌ Manual updates |
| Customization | ✅ 60+ variants | |
| Production Ready | ✅ Yes | |
| Learning Curve | ⬇️ Minimal | ⬆️ Steep |
# Display help
flutter_beautify help
# Initialize project
flutter_beautify init
# Add a component
flutter_beautify add button
flutter_beautify add textfield
flutter_beautify add card
# List all available components
flutter_beautify list
# Show component details
flutter_beautify info button- Installation Guide - Setup instructions
- Quick Start - Get running in 5 minutes
- Component Catalog - All 26 components with examples
- API Reference - Detailed method documentation
- Examples & Demos - Real-world usage patterns
- Troubleshooting - Common issues and solutions
- Dart SDK: 3.9.2 or higher
- Flutter SDK: Latest stable version
- Platforms: macOS, Linux, Windows
- Minimum Flutter Version: 3.0
dart pub global activate flutter_beautifyVerify installation:
flutter_beautify --versiongit clone https://github.com/DeveloperRejaul/flutter_beautify.git
cd flutter_beautify
dart pub global activate --source path .dart pub global deactivate flutter_beautify✅ Startup MVPs - Launch quickly with production-ready components
✅ Enterprise Apps - Material Design 3 compliance built-in
✅ Design Systems - Use as component library foundation
✅ Mobile & Web - Works on iOS, Android, and web
✅ Prototyping - Rapid UI prototyping and iteration
We welcome contributions! See CONTRIBUTING.md for:
- Bug reports and feature requests
- Development setup
- Pull request guidelines
- Code style standards
Flutter Beautify is released under the MIT License. See LICENSE file for details.
- pub.dev Package - Latest version and documentation
- GitHub Repository - Source code
- GitHub Pages Documentation - Full docs site
- Report an Issue - Bug reports
- Discussions - Community Q&A
If Flutter Beautify helps your project, please consider:
- ⭐ Starring this repository
- 👍 Liking on pub.dev
- 📢 Sharing with other developers
- 🐛 Contributing improvements
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Twitter: @DeveloperRejaul
Built with ❤️ for the Flutter community
→ Start Building → ), ), ); } }
---
## CLI Commands Reference
### 1. `flutter_beautify init`
Initialize Flutter Beautify configuration for your project.
**Syntax:**
```bash
flutter_beautify init
Use Cases:
- ✅ First-time setup
- ✅ Custom project structure
- ✅ Team standardization
Display the current Flutter Beautify configuration.
Syntax:
flutter_beautify configDescription:
Reads and displays the current configuration from .flutter_beautify_config.json. If file doesn't exist, shows default values.
Use Cases:
- ✅ Verify configuration settings
- ✅ Check project structure
- ✅ Team alignment
Add a component to your project.
Syntax:
flutter_beautify add <component_name>Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
<component_name> |
✅ Yes | string | Name of the component to add |
Example Usage:
# Add a single component
flutter_beautify add button
# Add multiple components sequentially
flutter_beautify add checkbox
flutter_beautify add textfield
flutter_beautify add cardSupported Component Commands:
# Input Components
flutter_beautify add button # Action button
flutter_beautify add checkbox # Checkbox input
flutter_beautify add textfield # Text input field
flutter_beautify add radio-button # Radio button group
flutter_beautify add slider # Slider control
flutter_beautify add switch # Toggle switch
flutter_beautify add dropdown # Dropdown select
# Display Components
flutter_beautify add card # Card container
flutter_beautify add badge # Status badge
flutter_beautify add avatar # User avatar
flutter_beautify add tooltip # Tooltip overlay
flutter_beautify add breadcrumb # Breadcrumb trail
flutter_beautify add appbar # Custom app bar
flutter_beautify add divider # Visual divider
# Progress & Status
flutter_beautify add circular-progress # Circular progress
flutter_beautify add linear-progress # Progress bar
flutter_beautify add skeleton # Loading skeleton
# Navigation
flutter_beautify add tabs # Tab navigation
flutter_beautify add pagination # Page navigation
flutter_beautify add bottom-navigation-bar # Bottom nav
flutter_beautify add sidebar # Side navigation
# Modals & Overlays
flutter_beautify add dialog # Dialog modal
flutter_beautify add bottom-sheet # Bottom sheet
flutter_beautify add snackbar # Snackbar notification
flutter_beautify add toast # Toast notification
# Date & Time
flutter_beautify add date-picker # Date picker
flutter_beautify add calendar # Calendar widget
# Special
flutter_beautify add accordion # Accordion componentFlutter Beautify provides 26 production-ready components organized into 7 categories.
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| Button | add button |
.solid() .outline() .link() |
Action buttons with multiple styles |
| Checkbox | add checkbox |
.standard() .outlined() |
Checkbox input with validation |
| TextField | add textfield |
.outline() .filled() .underline() |
Text input with variants |
| RadioButton | add radio-button |
.standard() .card() |
Radio button groups |
| Slider | add slider |
.standard() .range() |
Range slider input |
| Switch | add switch |
.standard() .outlined() |
Toggle switch control |
| Dropdown | add dropdown |
.standard() .outlined() |
Dropdown menu select |
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| Card | add card |
.elevated() .outlined() .flat() |
Container with styling |
| Badge | add badge |
.standard() .small() .large() .outlined() |
Status/label badges |
| Avatar | add avatar |
.circular() .square() .rounded() |
User profile avatars |
| Tooltip | add tooltip |
.standard() .dark() |
Hover information overlay |
| Breadcrumb | add breadcrumb |
.standard() .arrow() |
Navigation breadcrumb trail |
| AppBar | add appbar |
.standard() .transparent() .gradient() |
Custom app bar |
| Divider | add divider |
.horizontal() .vertical() |
Visual dividers |
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| CircularProgress | add circular-progress |
.standard() .withLabel() .spinner() |
Circular progress indicator |
| LinearProgress | add linear-progress |
.standard() .withLabel() .striped() |
Horizontal progress bar |
| Skeleton | add skeleton |
.text() .image() .card() |
Loading skeleton screens |
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| Tabs | add tabs |
.standard() .scrollable() |
Tab navigation |
| Pagination | add pagination |
.standard() .minimal() |
Page navigation |
| BottomNavigationBar | add bottom-navigation-bar |
.standard() .elevated() |
Bottom navigation |
| Sidebar | add sidebar |
.standard() .dark() .collapsible() |
Side navigation panel |
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| Dialog | add dialog |
.alert() .confirmation() .custom() |
Modal dialogs |
| BottomSheet | add bottom-sheet |
.standard() .scrollable() .fullscreen() |
Bottom sheet modals |
| Snackbar | add snackbar |
.info() .success() .error() .warning() |
Snackbar notifications |
| Toast | add toast |
.short() .long() .custom() |
Toast notifications |
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| DatePicker | add date-picker |
.standard() .range() |
Date selection picker |
| Calendar | add calendar |
.standard() .range() |
Interactive calendar widget |
| Component | Command | Factory Methods | Description |
|---|---|---|---|
| Accordion | add accordion |
.standard() .outlined() |
Expandable accordion items |
- 📖 Documentation: GitHub Wiki
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Email: Contact Developer
- Built with ❤️ using Dart and Flutter
- Inspired by Material Design 3
- Thanks to the Flutter community for feedback and contributions
- CONTRIBUTING.md - How to contribute to the project
- CONTACT.md - Contact information and support channels
- PUB_DEV_SETUP.md - Pub.dev publishing guide
- GITHUB_ACTIONS_SETUP.md - GitHub Actions automation
- CHANGELOG.md - Version history and updates
- GitHub Issues - Report bugs or request features
- GitHub Discussions - Ask questions and discuss ideas
- GitHub Repository - View source code
- CONTACT.md - For support and contact information
- CONTRIBUTING.md - Development setup and guidelines
- README.md - Main documentation (you are here!)
- 26 Production-Ready Components
- 60+ Factory Method Variants
- 20+ Demo Examples
- 100% Dart Code Coverage (widgets)
- Active Maintenance & Support
Made with ❤️ by DeveloperRejaul
⭐ If you find this useful, please consider giving it a star on GitHub!