IconButton constructor

IconButton(
  1. String icon, {
  2. double? size,
  3. ColorToken? color,
  4. ColorToken? fillColor,
  5. double? borderRadius,
  6. Object? onTap,
  7. String? name,
  8. Object? visible,
})

Implementation

IconButton(
  this.icon, {
  this.size,
  this.color,
  this.fillColor,
  this.borderRadius,
  Object? onTap,
  String? name,
  Object? visible,
}) : onTap = normalizeActionSequence(onTap, parameterName: 'onTap'),
     super(name: name, visible: _normalizeVisibility(visible));