MIconButton.filledTonal constructor

const MIconButton.filledTonal({
  1. Key? key,
  2. double? iconSize,
  3. VisualDensity? visualDensity,
  4. EdgeInsetsGeometry? padding,
  5. AlignmentGeometry? alignment,
  6. double? splashRadius,
  7. Color? color,
  8. Color? focusColor,
  9. Color? hoverColor,
  10. Color? highlightColor,
  11. Color? splashColor,
  12. Color? disabledColor,
  13. VoidCallback? onPressed,
  14. MouseCursor? mouseCursor,
  15. FocusNode? focusNode,
  16. bool autofocus = false,
  17. String? tooltip,
  18. bool? enableFeedback,
  19. BoxConstraints? constraints,
  20. ButtonStyle? style,
  21. bool? isSelected,
  22. Widget? selectedIcon,
  23. required Widget icon,
  24. Color? backgroundColor,
  25. bool clearPadding = false,
  26. double? elevation,
  27. double? size,
  28. Size? maximumSize,
  29. Size? minimumSize,
  30. bool noHighlight = false,
  31. bool noSplash = false,
  32. Color? overlayColor,
  33. Color? shadowColor,
  34. OutlinedBorder? shape,
  35. BorderSide? side,
  36. InteractiveInkFeatureFactory? splashFactory,
  37. MaterialTapTargetSize? tapTargetSize,
})

Implementation

const MIconButton.filledTonal({
  super.key,
  this.iconSize,
  this.visualDensity,
  this.padding,
  this.alignment,
  this.splashRadius,
  this.color,
  this.focusColor,
  this.hoverColor,
  this.highlightColor,
  this.splashColor,
  this.disabledColor,
  this.onPressed,
  this.mouseCursor,
  this.focusNode,
  this.autofocus = false,
  this.tooltip,
  this.enableFeedback,
  this.constraints,
  this.style,
  this.isSelected,
  this.selectedIcon,
  required this.icon,
  this.backgroundColor,
  this.clearPadding = false,
  this.elevation,
  this.size,
  this.maximumSize,
  this.minimumSize,
  this.noHighlight = false,
  this.noSplash = false,
  this.overlayColor,
  this.shadowColor,
  this.shape,
  this.side,
  this.splashFactory,
  this.tapTargetSize,
})  : assert(splashRadius == null || splashRadius > 0),
      _variant = _MIconButtonVariant.filledTonal;