DSIconButton.fab constructor
DSIconButton.fab({
- required IconData icon,
- Color? color,
- Color iconColor = Colors.white,
- DSIconButtonStyle style = DSIconButtonStyle.normal,
- DSIconButtonSize size = DSIconButtonSize.normal,
- DSIconButtonFeedbackStyle feedbackStyle = DSIconButtonFeedbackStyle.normal,
- dynamic onTapDown()?,
- dynamic onTapUp()?,
- double activeOpacity = 0.3,
- bool disabled = false,
- Color? disabledColor,
- double? iconSize,
- DSIconButtonShape shape = DSIconButtonShape.round,
- Key? key,
Implementation
DSIconButton.fab({
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) {
_isFab = true;
}