LabeledIcon constructor
const
LabeledIcon({
- Key? key,
- required String label,
- required IconData? icon,
- MainAxisSize mainAxisSize = MainAxisSize.min,
- EdgeInsets? padding,
- double gap = 0.0,
- double? labelFontSize,
- FontWeight? labelFontWeight,
- Color? labelColor,
- TextStyle? labelStyle,
- bool? labelSoftWrap,
- TextOverflow? labelOverflow,
- int? labelMaxLines,
- TextWidthBasis? labelTextWidthBasis,
- Color? iconColor,
Implementation
const LabeledIcon({
Key? key,
required this.label,
required this.icon,
this.mainAxisSize = MainAxisSize.min,
this.padding,
this.gap = 0.0,
this.labelFontSize,
this.labelFontWeight,
this.labelColor,
this.labelStyle,
this.labelSoftWrap,
this.labelOverflow,
this.labelMaxLines,
this.labelTextWidthBasis,
this.iconColor,
}) : super(key: key);