flutter_tailwind_theme 1.0.1
flutter_tailwind_theme: ^1.0.1 copied to clipboard
A Flutter package providing Tailwind-inspired classes.
flutter_tailwind_theme #
A Flutter package providing Tailwind-inspired classes.
Installation #
To use this package, add flutter_tailwind_theme as a dependency in your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
flutter_tailwind_theme: ^1.0.1
Usage #
import 'package:flutter/material.dart';
import 'package:flutter_tailwind_theme/flutter_tailwind_theme.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Flutter Tailwind Colors Demo'),
),
body: Center(
child: Container(
color: TColors.blue.shade500, // Example usage of a Tailwind color
child: Text(
'Hello, Tailwind Colors!',
style: TextStyle(color: TColors.blue.shade50),
),
),
),
),
);
}
}
License #
This project is licensed under the terms of the MIT license. See the LICENSE file for details.
Change Log #
See the CHANGELOG.md file for a list of changes.