CoinButton constructor

const CoinButton({
  1. VoidCallback? onPressed,
  2. required double radius,
  3. Key? key,
  4. required Coins coin,
  5. Duration duration = const Duration(milliseconds: 500),
  6. bool waitForAnimation = true,
  7. required CoinController coinController,
})

Implementation

const CoinButton({
  this.onPressed,
  required this.radius,
  super.key,
  required this.coin,
  this.duration = const Duration(milliseconds: 500),
  this.waitForAnimation = true, required this.coinController,
});