AppIconButton constructor
const
AppIconButton({
- Key? key,
- required ButtonType type,
- VoidCallback? onPressed,
- GestureConfig? gestureConfig,
- IconButtonShape shape = IconButtonShape.circle,
- IconButtonSize size = IconButtonSize.md,
- Color? customColor,
- Color? customIconColor,
- Color? customBgColor,
- double? customIconSize,
- bool showBadge = false,
- String? badgeLabel,
- String? tooltip,
- bool isDisabled = false,
- bool isLoading = false,
- bool hasBorder = false,
Implementation
const AppIconButton({
super.key,
required this.type,
this.onPressed,
this.gestureConfig,
this.shape = IconButtonShape.circle,
this.size = IconButtonSize.md,
this.customColor,
this.customIconColor,
this.customBgColor,
this.customIconSize,
this.showBadge = false,
this.badgeLabel,
this.tooltip,
this.isDisabled = false,
this.isLoading = false,
this.hasBorder = false,
});