PhoenixIconButton constructor

const PhoenixIconButton({
  1. Key? key,
  2. required String name,
  3. Widget? iconWidget,
  4. VoidCallback? onTap,
  5. double iconWidth = 24,
  6. double iconHeight = 24,
  7. double widgetWidth = 80,
  8. double widgetHeight = 80,
  9. Direction direction = Direction.top,
  10. double padding = 4,
  11. TextStyle? style,
  12. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
})

Implementation

const PhoenixIconButton({
  Key? key,
  required this.name,
  this.iconWidget,
  this.onTap,
  this.iconWidth = 24,
  this.iconHeight = 24,
  this.widgetWidth = 80,
  this.widgetHeight = 80,
  this.direction = Direction.top,
  this.padding = 4,
  this.style,
  this.mainAxisAlignment = MainAxisAlignment.center,
}) : super(key: key);