AdaptiveIconButton constructor

AdaptiveIconButton(
  1. {Key key,
  2. @required Widget icon,
  3. String tooltip,
  4. Widget iconCupertino,
  5. VoidCallback onPressed,
  6. Color color}
)

Implementation

AdaptiveIconButton({
  Key key,
  @required this.icon,
  this.tooltip,
  this.iconCupertino,
  this.onPressed,
  this.color,
})  : assert(icon != null, 'We need an icon to see what is goung on.'),
      super(key: key);