Card constructor

const Card({
  1. Key? key,
  2. required Widget child,
  3. Widget? extra,
  4. bool hoverable = false,
  5. Size size = Size.medium,
  6. Widget? title,
})

Implementation

const Card({
  Key? key,
  required this.child,
  this.extra,
  this.hoverable = false,
  this.size = Size.medium,
  this.title,
}) : super(key: key);