FCard constructor
const
FCard({
- FCardStyleDelta style = const .context(),
- Clip clipBehavior = .none,
- ValueWidgetBuilder<
FCardStyle> builder = defaultBuilder, - Widget? child,
- Key? key,
Creates a FCard.
CLI
To generate a layout for this widget:
dart run forui snippet create card
See https://forui.dev/docs/widgets/data/card for other generatable layouts.
Implementation
const FCard({
this.style = const .context(),
this.clipBehavior = .none,
this.builder = defaultBuilder,
this.child,
super.key,
}) : assert(builder != defaultBuilder || child != null, 'Either builder or child must be provided.');