TogeIconButtonWidget constructor

const TogeIconButtonWidget(
  1. IconData icon, {
  2. Key? key,
  3. Size minimumSize = const Size(40, 40),
  4. Size maximumSize = const Size(48, 48),
  5. TogeButtonType type = TogeButtonType.primary,
  6. TogeButtonSize size = TogeButtonSize.large,
  7. TogeButtonTone tone = TogeButtonTone.neutral,
  8. bool rounded = false,
  9. bool isHold = false,
  10. bool isLoading = false,
  11. double? loadingIndicatorSize,
  12. FocusNode? focusNode,
  13. dynamic onPressed()?,
  14. EdgeInsets? contentPadding,
  15. Widget? contentBuilder,
  16. WidgetStatesController? statesController,
  17. 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,
});