PhoenixIconButton constructor
const
PhoenixIconButton({
- Key? key,
- required String name,
- Widget? iconWidget,
- VoidCallback? onTap,
- double iconWidth = 24,
- double iconHeight = 24,
- double widgetWidth = 80,
- double widgetHeight = 80,
- Direction direction = Direction.top,
- double padding = 4,
- TextStyle? style,
- 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);