TogeIconButtonWidget constructor
const
TogeIconButtonWidget(
- IconData icon, {
- Key? key,
- Size minimumSize = const Size(40, 40),
- Size maximumSize = const Size(48, 48),
- TogeButtonType type = TogeButtonType.primary,
- TogeButtonSize size = TogeButtonSize.large,
- TogeButtonTone tone = TogeButtonTone.neutral,
- bool rounded = false,
- bool isHold = false,
- bool isLoading = false,
- double? loadingIndicatorSize,
- FocusNode? focusNode,
- dynamic onPressed()?,
- EdgeInsets? contentPadding,
- Widget? contentBuilder,
- WidgetStatesController? statesController,
- double? iconSize,
Implementation
const TogeIconButtonWidget(
this.icon, {
super.key,
this.minimumSize = const Size(40, 40),
this.maximumSize = const Size(48, 48),
this.type = TogeButtonType.primary,
this.size = TogeButtonSize.large,
this.tone = TogeButtonTone.neutral,
this.rounded = false,
this.isHold = false,
this.isLoading = false,
this.loadingIndicatorSize,
this.focusNode,
this.onPressed,
this.contentPadding,
this.contentBuilder,
this.statesController,
this.iconSize,
});