DSIconButton constructor

DSIconButton({
  1. required IconData icon,
  2. Color? color,
  3. Color iconColor = Colors.white,
  4. DSIconButtonStyle style = DSIconButtonStyle.normal,
  5. DSIconButtonSize size = DSIconButtonSize.normal,
  6. DSIconButtonFeedbackStyle feedbackStyle = DSIconButtonFeedbackStyle.normal,
  7. dynamic onTapDown(
    1. TapDownDetails
    )?,
  8. dynamic onTapUp(
    1. TapUpDetails
    )?,
  9. double activeOpacity = 0.3,
  10. bool disabled = false,
  11. Color? disabledColor,
  12. double? iconSize,
  13. DSIconButtonShape shape = DSIconButtonShape.round,
  14. Key? key,
})

Implementation

DSIconButton({
  required this.icon,
  this.color,
  this.iconColor = Colors.white,
  this.style = DSIconButtonStyle.normal,
  this.size = DSIconButtonSize.normal,
  this.feedbackStyle = DSIconButtonFeedbackStyle.normal,
  this.onTapDown,
  this.onTapUp,
  this.activeOpacity = 0.3,
  this.disabled = false,
  this.disabledColor,
  this.iconSize,
  this.shape = DSIconButtonShape.round,
  Key? key,
}) : super(key: key);