CoinSearch constructor

const CoinSearch({
  1. Key? key,
  2. required List<Coin> coinsList,
  3. required List<String> currencyList,
  4. required List<String> tickerList,
  5. required double inrRate,
  6. bool? showCoinImage = true,
  7. BorderRadius? cardPercentageBorder,
  8. double? cardPercentageHeight,
  9. double? cardPercentageWidth,
  10. Widget coinCardWidget(
    1. Coin
    )?,
  11. dynamic onSearchCoinTap(
    1. BuildContext,
    2. Coin
    )?,
})

Implementation

const CoinSearch({
  Key? key,
  required this.coinsList,
  required this.currencyList,
  required this.tickerList,
  required this.inrRate,
  this.showCoinImage = true,
  this.cardPercentageBorder,
  this.cardPercentageHeight,
  this.cardPercentageWidth,
  this.coinCardWidget,
  this.onSearchCoinTap,
}) : super(key: key);