CardRun constructor

const CardRun(
  1. String text,
  2. dynamic onTap(), {
  3. Key? key,
})

Implementation

const CardRun(
  this.text,
  this.onTap, {
  Key? key,
}) : super(key: key);