jaspr_declarative_tailwind 0.1.1 copy "jaspr_declarative_tailwind: ^0.1.1" to clipboard
jaspr_declarative_tailwind: ^0.1.1 copied to clipboard

A declarative tailwind generator for dart.

example/lib/example.dart

import 'package:jaspr/jaspr.dart';
import 'package:jaspr_declarative_tailwind/tailwind.dart';
import 'package:jaspr_declarative_tailwind/utils.dart';

void main() {
  print(TWGridColumns.span1.name);
  List<String> classes = TWClassList(
      generators: TWGenerators.layout(gridColumn: TWGridColumns.span1));
  print(classes);

  DomComponent(
      tag: "p",
      classes: TWClassList(
          generators: TWGenerators.layout(flex: TWFlexValue.flexAuto)));
  print(
      TWClassList(generators: TWGenerators.layout(flex: TWFlexValue.flexAuto)));
}
1
likes
110
points
72
downloads

Publisher

verified publishertherishabhsingh.com

Weekly Downloads

A declarative tailwind generator for dart.

Repository (GitHub)
View/report issues

Topics

#jaspr #web #html #css

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

jaspr, lints, test

More

Packages that depend on jaspr_declarative_tailwind