tailwind_attributes

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

tailwind attributes

Tailwind Attributes #
Theming based on Attributes
Config: tailwind.config.json
Example:
Widget build(BuildContext context) {
List<TextAttribute> headline(Tw tw) => [tw.text.xl, tw.font.bold, tw.text.slate(900)];
List<TextAttribute> body(Tw tw) => [tw.text.base, tw.font.normal, tw.font.italic, tw.text.slate700];

return Column(
children: [
TwText(
'Hello World!',
attributes: Tw.attributes(context, headline),
),
const Text('Body').apply(Tw.attributes(context, body)),
],
);
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.