RealtimeRankingIconButton constructor

const RealtimeRankingIconButton({
  1. Key? key,
  2. Widget? icon,
  3. bool isSelected = false,
  4. bool animated = false,
  5. Duration duration = const Duration(milliseconds: 250),
  6. Curve curve = Curves.fastOutSlowIn,
  7. VoidCallback? onTap,
})

Implementation

const RealtimeRankingIconButton({
  Key? key,
  this.icon,
  this.isSelected = false,
  this.animated = false,
  this.duration = const Duration(milliseconds: 250),
  this.curve = Curves.fastOutSlowIn,
  this.onTap,
}) : super(key: key);