NsgIconButton constructor
const
NsgIconButton({
- Key? key,
- IconData? icon,
- required VoidCallback onPressed,
- Color? color,
- Color? backColor,
- double size = 24,
- EdgeInsets padding = const EdgeInsets.all(10),
- String? svg,
Implementation
const NsgIconButton(
{Key? key, this.icon, required this.onPressed, this.color, this.backColor, this.size = 24, this.padding = const EdgeInsets.all(10), this.svg})
: super(key: key);