SeniorInfoCard constructor

const SeniorInfoCard({
  1. Key? key,
  2. bool canRequestFocus = true,
  3. FocusNode? focusNode,
  4. bool fullLength = false,
  5. required String label,
  6. dynamic onDoubleTap()?,
  7. dynamic onFocusChange(
    1. bool
    )?,
  8. dynamic onLongPress()?,
  9. dynamic onTap()?,
  10. required Color severityColor,
  11. SeniorInfoCardStyle? style,
  12. required String value,
})

Creates an Info Card type Card component.

Displays a value and a legend. It has a customizable label color. The label, value and severityColor parameters are required.

Implementation

const SeniorInfoCard({
  Key? key,
  this.canRequestFocus = true,
  this.focusNode,
  this.fullLength = false,
  required this.label,
  this.onDoubleTap,
  this.onFocusChange,
  this.onLongPress,
  this.onTap,
  required this.severityColor,
  this.style,
  required this.value,
}) : super(key: key);