FCard constructor

FCard({
  1. Widget? image,
  2. Widget? title,
  3. Widget? subtitle,
  4. Widget? child,
  5. FCardStyle style(
    1. FCardStyle
    )?,
  6. 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, this.style, super.key})
  : child = Content(image: image, title: title, subtitle: subtitle, style: style, child: child);