AppIconButton constructor Null safety
- {Key? key,
- VoidCallback? onPressed,
- required IconData icon}
Creates an icon button.
Implementation
const AppIconButton({
Key? key,
this.onPressed,
required this.icon,
}) : super(key: key);
Creates an icon button.
const AppIconButton({
Key? key,
this.onPressed,
required this.icon,
}) : super(key: key);