CustomIconText constructor
const
CustomIconText({})
Creates a CustomIconText widget.
The icon
and text
parameters are required and must not be null.
The mainAxisAlignment
defaults to MainAxisAlignment.center.
The spacing
defaults to 8.0.
Implementation
const CustomIconText({
super.key,
required this.icon,
required this.text,
this.color,
this.mainAxisAlignment = MainAxisAlignment.center,
this.textStyle,
this.iconSize,
this.spacing = 8.0,
});