Card
Container component with elevation, borders, and flexible content layout.
Installation
bash
flutter_studio add cardbash
flutter pub add flutter_studioUsage
dart
CustomCard(
child: Padding(
padding: EdgeInsets.all(16),
child: Text('Card content'),
),
)With Header
dart
CustomCard(
title: 'Card Title',
subtitle: 'Optional subtitle',
child: Text('Content'),
)API Reference
Properties
| Property | Type | Default | Description |
|---|---|---|---|
child | Widget | required | Main content |
title | String? | null | Card header title |
