TogeButtonIconWidget constructor

const TogeButtonIconWidget(
  1. IconData icon, {
  2. Key? key,
  3. TogeButtonType type = TogeButtonType.primary,
  4. TogeButtonSize size = TogeButtonSize.large,
  5. TogeButtonTone tone = TogeButtonTone.neutral,
  6. bool disabled = false,
  7. bool isIconButton = false,
  8. double? iconSize,
})

Implementation

const TogeButtonIconWidget(
  this.icon, {
  super.key,
  this.type = TogeButtonType.primary,
  this.size = TogeButtonSize.large,
  this.tone = TogeButtonTone.neutral,
  this.disabled = false,
  this.isIconButton = false,
  this.iconSize,
});