IconButton.outline constructor

const IconButton.outline({
  1. Key? key,
  2. required Widget icon,
  3. VoidCallback? onPressed,
  4. bool? enabled,
  5. Widget? leading,
  6. Widget? trailing,
  7. AlignmentGeometry? alignment,
  8. ButtonSize size = ButtonSize.normal,
  9. FocusNode? focusNode,
  10. bool disableTransition = false,
  11. ValueChanged<bool>? onHover,
  12. ValueChanged<bool>? onFocus,
  13. bool? enableFeedback,
  14. GestureTapDownCallback? onTapDown,
  15. GestureTapUpCallback? onTapUp,
  16. GestureTapCancelCallback? onTapCancel,
  17. GestureTapDownCallback? onSecondaryTapDown,
  18. GestureTapUpCallback? onSecondaryTapUp,
  19. GestureTapCancelCallback? onSecondaryTapCancel,
  20. GestureTapDownCallback? onTertiaryTapDown,
  21. GestureTapUpCallback? onTertiaryTapUp,
  22. GestureTapCancelCallback? onTertiaryTapCancel,
  23. GestureLongPressStartCallback? onLongPressStart,
  24. GestureLongPressUpCallback? onLongPressUp,
  25. GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate,
  26. GestureLongPressEndCallback? onLongPressEnd,
  27. GestureLongPressUpCallback? onSecondaryLongPress,
  28. GestureLongPressUpCallback? onTertiaryLongPress,
  29. ButtonVariance variance = ButtonVariance.outline,
  30. ButtonDensity density = ButtonDensity.icon,
  31. ButtonShape shape = ButtonShape.rectangle,
})

Implementation

const IconButton.outline({
  super.key,
  required this.icon,
  this.onPressed,
  this.enabled,
  this.leading,
  this.trailing,
  this.alignment,
  this.size = ButtonSize.normal,
  this.focusNode,
  this.disableTransition = false,
  this.onHover,
  this.onFocus,
  this.enableFeedback,
  this.onTapDown,
  this.onTapUp,
  this.onTapCancel,
  this.onSecondaryTapDown,
  this.onSecondaryTapUp,
  this.onSecondaryTapCancel,
  this.onTertiaryTapDown,
  this.onTertiaryTapUp,
  this.onTertiaryTapCancel,
  this.onLongPressStart,
  this.onLongPressUp,
  this.onLongPressMoveUpdate,
  this.onLongPressEnd,
  this.onSecondaryLongPress,
  this.onTertiaryLongPress,
  this.variance = ButtonVariance.outline,
  this.density = ButtonDensity.icon,
  this.shape = ButtonShape.rectangle,
});