Card
A flexible container component that displays content with an optional title, subtitle, and child widget. Cards are commonly used to group related information and actions.
Preview
CLI
To generate and customize this style:
dart run forui style create card
Usage
FCard(...)
FCard(
style: FCardStyle(...),
title: const Text('Notification'),
subtitle: const Text('You have 3 unread messages.'),
child: FButton(child: const Text('Read messages'), onPress: () {}),
);
FCard.raw(...)
FCard.raw(
style: FCardStyle(...),
child: const Placeholder(),
);
Last updated on