LabeledIcon constructor

const LabeledIcon({
  1. Key? key,
  2. required String label,
  3. required IconData? icon,
  4. MainAxisSize mainAxisSize = MainAxisSize.min,
  5. EdgeInsets? padding,
  6. double gap = 0.0,
  7. double? labelFontSize,
  8. FontWeight? labelFontWeight,
  9. Color? labelColor,
  10. TextStyle? labelStyle,
  11. bool? labelSoftWrap,
  12. TextOverflow? labelOverflow,
  13. int? labelMaxLines,
  14. TextWidthBasis? labelTextWidthBasis,
  15. 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);