A Figma-like Flutter UI designer with drag and drop functionality for creating Flutter applications visually
Flutter SDUI Designer is a powerful visual design tool that brings the familiar drag-and-drop interface of design tools like Figma to Flutter development. Built with modern Flutter best practices and MVVM architecture, it enables developers and designers to create Flutter UIs visually while automatically generating clean, production-ready code.
π Try it now: glimpse.dscvit.com
- Drag and Drop Interface: Intuitive drag-and-drop system for adding widgets from the sidebar directly onto the design canvas
- Visual Widget Library: Comprehensive collection of pre-built widgets including Row, Column, Scaffold, Text, Container, Card, and more
- Properties Panel: Real-time property editing with advanced controls including color pickers, size adjustments, and styling options
- Modern UI: Clean, professional interface inspired by Figma with Material Design 3 components
- MVVM Architecture: Built following Flutter best practices for maintainable and scalable code
- Device Preview: Preview your designs across different device sizes, screen resolutions, and orientations to ensure responsive layouts
- Widget Tree Visualization: Interactive hierarchical view of your widget structure for easy navigation and management
- Import/Export Functionality: Save and load design files, export generated Flutter code for immediate use in your projects
- Theme Management: Comprehensive theming system with customizable color schemes, typography, and Material Design theme configurations
- Code Generation: Automatically generate clean, optimized Flutter code from your visual designs
- Row: Horizontal layout widget with configurable alignment and spacing
- Column: Vertical layout widget with flexible positioning options
- Scaffold: Basic Material app structure with app bar and body support
- Text: Text display widget with customizable font, size, color, and weight
- Container: Flexible container with padding, margin, border, and background styling
- Card: Material Design card widget with elevation and rounded corners
lib/
βββ main.dart # App entry point
βββ app.dart # Main app configuration
βββ screens/
β βββ designer_screen.dart # Main designer screen
βββ widgets/
βββ left_sidebar.dart # Left sidebar with widget library
βββ design_canvas.dart # Main design canvas
βββ properties_panel.dart # Properties editing panel
- flutter_riverpod: State management solution
- go_router: Navigation routing (for future features)
- cupertino_icons: iOS-style icon library
- flutter_glimpse: Core dependency for the Flutter SDUI Designer
- Flutter SDK installed on your system
- A code editor (VS Code, Android Studio, or IntelliJ IDEA recommended)
Try the live version at glimpse.dscvit.com - no installation required!
- Clone this repository:
git clone <repository-url>
cd flutter-sdui-designer- Install dependencies:
flutter pub get
# Or add the package directly
pub add flutter_glimpse- Run the application:
flutter run -d linux
# For other platforms: flutter run -d chrome, flutter run -d macos, etc.- Adding Widgets: Browse the widget library in the left sidebar and drag your desired widgets onto the canvas
- Selecting Widgets: Click on any widget on the canvas to select it and view its properties
- Editing Properties: Use the properties panel on the right side to modify widget attributes like colors, sizes, text content, and styling
- Device Preview: Switch between different device previews to test your design's responsiveness
- Widget Tree: Use the widget tree view to navigate complex layouts and manage parent-child relationships
- Export Code: Generate and export Flutter code when your design is complete
- Clearing Canvas: Use the clear button in the canvas toolbar to reset and start fresh
This project follows MVVM (Model-View-ViewModel) architecture patterns and Flutter best practices:
- Separation of concerns between UI and business logic
- Reactive state management with Riverpod
- Modular widget structure for reusability
- Clean code principles for maintainability
- Undo/Redo Functionality: Full history management for design changes
- Collaboration Features: Real-time collaborative editing with multiple users
- Extended Widget Library: Support for more Flutter widgets and custom components
- Animation Builder: Visual tool for creating Flutter animations
- Asset Management: Image and icon asset integration
- Responsive Breakpoints: Advanced responsive design tools with breakpoint management
- Plugin System: Extensible architecture for community-built plugins
| Rujin Devkota | Adhavan K |
Made with β€ by GDSC-VIT