veta_molecules 0.1.0
veta_molecules: ^0.1.0 copied to clipboard
Veta molecule widgets — composites of veta_atoms (Banner, Dialog, Drawer, EmptyState, etc.).
veta_molecules #
Composite widgets that combine atoms — Flutter mirror of @vetaui/molecules.
import 'package:veta_molecules/veta_molecules.dart';
VetaEmptyState(
icon: Icons.inbox_outlined,
title: 'No messages yet',
description: "When someone writes you, they'll show up here.",
action: VetaButton(label: 'Compose', onPressed: () {}),
)
| Widget | Purpose |
|---|---|
VetaDialog |
Modal dialog wrapper with header / body / footer slots. |
VetaAlertDialog |
Confirmation prompt (title + message + confirm/cancel). |
VetaDrawer |
Side-sheet from any edge with overlay + escape handling. |
VetaBanner |
Top-of-page announcement (cookie / system status / promo). |
VetaEmptyState |
Placeholder for empty lists / dashboards / search results. |
VetaBreadcrumb |
Navigation trail with separators. |
VetaInfoTile |
Label + value tile for stats / settings rows. |
VetaFileDropzone |
Drag-and-drop upload zone with hover affordance. |
These widgets only depend on veta_atoms and veta_foundations. They have no
network or storage side effects — pass callbacks for I/O.