tailwind 0.0.5 copy "tailwind: ^0.0.5" to clipboard
tailwind: ^0.0.5 copied to clipboard

unlisted

A simple Tailwind utility library for Flutter, enabling quick and efficient UI building with utility-first classes, making it easier to create clean and responsive designs.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:tailwind/tailwind.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Tailwind Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              Container(
                width: 100,
                height: 100,
                // Use Tailwind colors
                color: Tw.colors.sky.shade500,
              ),
              Container(
                width: 100,
                height: 100,
                // Use Tailwind spacing
                padding: Tw.insets.p4,
                color: Tw.colors.purple.shade500,
                child: Container(color: Tw.colors.teal.shade500),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
0
pub points
13%
popularity

Publisher

verified publishercodingmitra.com

A simple Tailwind utility library for Flutter, enabling quick and efficient UI building with utility-first classes, making it easier to create clean and responsive designs.

Repository (GitHub)
View/report issues

Topics

#tailwind #colors #utilities #widget

Funding

Consider supporting this project:

buymeacoffee.com

License

unknown (license)

Dependencies

flutter

More

Packages that depend on tailwind