PICard constructor

const PICard({
  1. Key? key,
  2. Function? onTap,
  3. required Widget child,
  4. Color? backgroundColor,
  5. BoxBorder? border,
  6. bool? withPadding,
})

Implementation

const PICard({
  Key? key,
  this.onTap,
  required this.child,
  this.backgroundColor,
  this.border,
  bool? withPadding,
})  : this.withPadding = withPadding ?? false,
      super(key: key);