Label constructor

const Label(
  1. String? label, {
  2. bool wrap = true,
  3. Key? key,
  4. TextStyle? style,
  5. int? maxLines,
  6. TextAlign? textAlign,
})

Implementation

const Label(
  String? label, {
  bool wrap = true,
  super.key,
  super.style,
  super.maxLines,
  super.textAlign,
}) : super('$label', overflow: wrap ? TextOverflow.ellipsis : null);