FCard constructor
FCard({
- Widget? image,
- Widget? title,
- Widget? subtitle,
- Widget? child,
- MainAxisSize mainAxisSize = .min,
- FCardStyleDelta style = const .context(),
- Key? key,
Creates a FCard with a title, subtitle, and child.
The card's layout is as follows:
|---------------------------|
| [image] |
| |
| [title] |
| [subtitle] |
| |
| [child] |
|---------------------------|
Implementation
FCard({
Widget? image,
Widget? title,
Widget? subtitle,
Widget? child,
MainAxisSize mainAxisSize = .min,
this.style = const .context(),
super.key,
}) : child = Content(
image: image,
title: title,
subtitle: subtitle,
mainAxisSize: mainAxisSize,
style: style,
child: child,
);