vasX UI
A comprehensive collection of beautiful, reusable Flutter widgets built for production-grade applications.
π Table of Contents
- Description
- Features
- Screenshots
- Installation
- Quick Start
- Widget Catalog
- Folder Structure
- Roadmap
- Contributing
- Author
- License
π Description
vasX UI is an extensively crafted UI library for Flutter. Instead of rewriting common complex UI components like multi-step wizards, searchable dropdowns, and customizable tables, vasx_ui provides highly polished, fully customizable, and deeply integrated widgets that you can plug directly into your production apps. It follows modern design principles out of the box with fluid animations, adaptive layouts, and a cohesive color system.
β¨ Features
- π― Production Ready: Built and tested for robust enterprise applications.
- π¨ Highly Customizable: Easily override colors, typography, and behaviors.
- π§© Modular Components: Import only what you need.
- π± Responsive: Looks great on mobile, tablet, and desktop screens.
- π Smooth Animations: Integrated micro-interactions for a premium feel.
- π Built-in Theming: Consistent design language via
VasxColors.
πΈ Screenshots

(Above: A showcase of the versatile widgets included in vasX UI)
π¬ Animated Demo
(Coming soon)
π Installation
Add vasx_ui to your pubspec.yaml dependencies:
dependencies:
vasx_ui: ^0.0.1
Or run the following command in your terminal:
flutter pub add vasx_ui
β‘ Quick Start
Import the package anywhere in your project:
import 'package:vasx_ui/vasx_ui.dart';
Use the cohesive color tokens provided by the library to match your app's theme:
Container(
color: VasxColors.primarySurface,
child: Text(
'Welcome to vasX UI',
style: TextStyle(color: VasxColors.textPrimary),
),
);
π§© Widget Catalog & Usage Examples
AppPopupMenu
An animated scale and fade popup action menu, perfect for context actions.
AppPopupMenu(
onClose: () => overlayEntry.remove(),
items: [
AppPopupMenuItem(
label: 'Edit',
icon: Icons.edit_outlined,
onTap: () => _onEdit(),
),
AppPopupMenuItem(
label: 'Duplicate',
icon: Icons.copy,
onTap: () => _onDuplicate(),
),
AppPopupMenuItem(
label: 'Delete',
icon: Icons.delete_outline,
isDestructive: true,
onTap: () => _onDelete(),
),
],
)
CustomTable
A responsive, horizontally-scrollable data table optimized for large datasets.
CustomTable(
columns: const [
CustomTableColumn(label: 'Name', flex: 2),
CustomTableColumn(label: 'Email'),
CustomTableColumn(label: 'Role'),
CustomTableColumn(label: 'Action', alignment: Alignment.center),
],
itemCount: users.length,
rowBuilder: (context, index) {
final user = users[index];
return [
Text(user.name),
Text(user.email),
Chip(label: Text(user.role)),
Row(
mainAxisSize: MainAxisSize.min,
children: [
IconButton(icon: const Icon(Icons.edit, color: Colors.blue), onPressed: () {}),
IconButton(icon: const Icon(Icons.delete, color: Colors.red), onPressed: () {}),
],
)
];
},
)
VerticalWizardShell
A multi-step wizard with a vertical left-hand stepper, ideal for complex desktop forms.
VerticalWizardShell(
steps: const [
WizardStepConfig(
icon: Icons.person_outline_rounded,
label: 'Personal Info',
mobileLabel: 'Personal',
subtitle: 'Name & contact',
),
WizardStepConfig(
icon: Icons.location_on_outlined,
label: 'Address Details',
mobileLabel: 'Address',
),
WizardStepConfig(
icon: Icons.check_circle_outline,
label: 'Review & Confirm',
mobileLabel: 'Review',
),
],
currentStep: _currentStep,
title: 'Registration',
formContent: MyFormWidget(),
onBack: _currentStep > 0 ? _prevStep : null,
onNext: _nextStep,
nextLabel: _currentStep == 2 ? 'Finish' : 'Next',
onCancel: () => Navigator.pop(context),
)
ScrollableWizardShell
An all-sections-visible scrollable form wizard with a progress tracker.
ScrollableWizardShell(
steps: _steps,
title: 'Create Profile',
sectionContents: [
PersonalDetailsForm(),
AddressForm(),
EducationForm(),
EmploymentForm(),
ReviewForm(),
],
saving: _isSaving,
onSave: _submitForm,
onCancel: () => Navigator.pop(context),
)
SearchableDropdown
A single-select dropdown with live search filtering.
SearchableDropdown(
label: 'Country',
value: _country,
hint: 'Search country...',
items: countries,
onChanged: (val) => setState(() => _country = val),
)
MultiSelectSearchableDropdown
A multi-select dropdown that displays selected items as visual chips.
MultiSelectSearchableDropdown(
label: 'Frameworks',
values: _selectedFrameworks,
hint: 'Select frameworks',
items: ['Flutter', 'React', 'Node.js', 'Vue', 'Angular'],
onChanged: (vals) => setState(() => _selectedFrameworks = vals),
)
CreatableDropdown
A versatile dropdown allowing users to select an existing item or create a new one inline.
CreatableDropdown(
value: _selectedTag,
items: _tags,
hint: 'Search or create...',
onChanged: (val) => setState(() => _selectedTag = val),
onAddItem: (newTag) => setState(() {
_tags.add(newTag);
_selectedTag = newTag;
}),
)
DropdownDatePicker
A three-dropdown (Year / Month / Day) date picker, excellent for date of birth inputs.
DropdownDatePicker(
controller: _dobController,
label: 'Date of Birth',
startYear: 1900,
endYear: 2024,
dateFormat: 'dd/MM/yyyy',
showExtendYears: false,
)
CustomDateRangePickerDialog
A beautifully designed dual-calendar date range picker dialogue.
final range = await showCustomDateRangePicker(
context: context,
initialDateRange: _selectedRange,
);
if (range != null) {
setState(() => _selectedRange = range);
}
π Folder Structure
vasx_ui/
βββ lib/
β βββ src/
β β βββ widgets/ # All UI components
β β βββ theme/ # Color tokens and styling (VasxColors)
β β βββ utils/ # Helpers and extensions
β βββ vasx_ui.dart # Main export file
βββ example/ # Full example app demonstrating all widgets
βββ image/ # Assets for README
βββ test/ # Unit and widget tests
βββ pubspec.yaml # Package configuration
πΊοΈ Roadmap
AddFileUploaderwidget.ImplementTimelineview component.Add dark mode explicit toggle support across all widgets.Comprehensive widget tests coverage.Publish interactive web demo.
π€ Contributing
Contributions are welcome! If you find a bug or have a feature request, please open an issue.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
π¨βπ» Author
Sabari Vasan S M
- Portfolio: portfolio.sabari.me
- GitHub: @Sabari-Vasan-SM
π License
This project is licensed under the MIT License - see the LICENSE file for details.
Libraries
- vasx_ui
- vasX UI β a production-ready Flutter widget library.