ScratchCardSrc constructor

const ScratchCardSrc({
  1. Key? key,
  2. ImageType imageType = ImageType.asset,
  3. Color scratchColor = Colors.grey,
  4. String? scratchImage,
  5. double stockSize = 20,
  6. required Widget child,
})

Implementation

const ScratchCardSrc(
    {super.key,
      this.imageType = ImageType.asset,
      this.scratchColor = Colors.grey,
      this.scratchImage,
      this.stockSize = 20,
      required this.child});