TLabel constructor

const TLabel({
  1. Key? key,
  2. required String caption,
  3. TAlignment alignment = TAlignment.taLeftJustify,
  4. TTextLayoutStd layout = TTextLayoutStd.tlTop,
  5. bool wordWrap = false,
  6. bool enabled = true,
  7. TextStyle? font,
})

Implementation

const TLabel({
  super.key,
  required this.caption,
  this.alignment = TAlignment.taLeftJustify,
  this.layout = TTextLayoutStd.tlTop,
  this.wordWrap = false,
  this.enabled = true,
  this.font,
});