FCard constructor

const FCard({
  1. FCardStyleDelta style = const .context(),
  2. Clip clipBehavior = .none,
  3. ValueWidgetBuilder<FCardStyle> builder = defaultBuilder,
  4. Widget? child,
  5. 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.');