IconButton constructor

const IconButton({
  1. Key? key,
  2. EdgeInsetsGeometry? margin,
  3. Widget? icon,
  4. bool isBlueBg = false,
  5. dynamic onPressed()?,
  6. Color? bgColor,
  7. double? iconSize,
  8. EdgeInsetsGeometry? padding,
  9. List<BoxShadow>? boxShadows,
})

Implementation

const IconButton(
    {Key? key,
    this.margin,
    this.icon,
    this.isBlueBg = false,
    this.onPressed,
    this.bgColor,
    this.iconSize,
    this.padding,
    this.boxShadows})
    : super(key: key);