veta_templates 0.1.0 copy "veta_templates: ^0.1.0" to clipboard
veta_templates: ^0.1.0 copied to clipboard

Veta layout primitives — mirror @vetaui/templates (Container, Stack, Grid, Heading, Text).

veta_templates #

Layout primitives for Veta apps — Flutter mirror of @vetaui/templates.

import 'package:veta_templates/veta_templates.dart';

VetaContainer(
  size: VetaContainerSize.lg,
  child: VetaStack(
    gap: 16,
    children: [
      VetaHeading('Welcome', size: VetaHeadingSize.xl2),
      VetaText('Body copy here.'),
    ],
  ),
)
Widget Purpose
VetaContainer Centred max-width wrapper with horizontal padding.
VetaStack Row or column with gap, alignment, and justify props.
VetaGrid Responsive column grid (1 / 2 / 3 / 4 / 6 / 12 cols).
VetaHeading Semantic heading (h1–h6 equivalent) with size/weight/align.
VetaText Body text with variant (body / lead / small / caption / overline).

Layout primitives have no opinion on tokens beyond what VetaTheme already provides — they read colorScheme / textTheme from Theme.of.

0
likes
150
points
48
downloads

Documentation

API reference

Publisher

verified publisherwasyra.com

Weekly Downloads

Veta layout primitives — mirror @vetaui/templates (Container, Stack, Grid, Heading, Text).

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, veta_foundations

More

Packages that depend on veta_templates