PinIcon constructor

PinIcon({
  1. required dynamic onTap()?,
  2. required IconData icon,
  3. IconData? onHoverIcon,
  4. IconStyle? iconStyle,
  5. IconStyle? onHoverIconStyle,
  6. Duration? duration = const Duration(milliseconds: 250),
  7. Key? key,
})

Implementation

PinIcon({
  required super.onTap,
  required IconData icon,
  IconData  ? onHoverIcon,
  IconStyle ? iconStyle,
  IconStyle ? onHoverIconStyle,
  super.duration = const Duration(milliseconds: 250),
  super.key,
}) : super (
  icon             : icon,
  onHoverIcon      : onHoverIcon,
  iconStyle        : iconStyle,
  onHoverIconStyle : onHoverIconStyle == null ? iconStyle : onHoverIconStyle,
);