ui_card_kit
A simple and customizable Flutter card widget that wraps ListTile with added design.
Features
- Title, subtitle, and icon support
- Tappable with optional callback
- Reusable in any Flutter project
Usage
import 'package:ui_card_kit/ui_card_kit.dart';
ui_card_kit(
title: "Get Started",
subtitle: "Click to explore features",
icon: Icons.lightbulb_outline,
onTap: () => print("Card tapped"),
gradientColors: [
Color(0xFFFBDA61),
Color(0xFFFF5ACD)
], // pastel yellow-pink
iconBackgroundColor: Colors.pinkAccent,
trailing: Icon(Icons.arrow_forward_ios, color: Colors.white),
),;
Installation
Add this to your pubspec.yaml:
dependencies:
ui_card_kit: ^0.0.1
Then run flutter pub get.
License
MIT