InfoLabel constructor

InfoLabel({
  1. Key? key,
  2. Widget? child,
  3. required String label,
  4. TextStyle? labelStyle,
  5. bool isHeader = true,
})

Creates an info label.

Implementation

InfoLabel({
  super.key,
  this.child,
  required String label,
  TextStyle? labelStyle,
  this.isHeader = true,
}) : label = TextSpan(text: label, style: labelStyle);