TLabel constructor
const
TLabel({
- Key? key,
- required String caption,
- TAlignment alignment = TAlignment.taLeftJustify,
- TTextLayoutStd layout = TTextLayoutStd.tlTop,
- bool wordWrap = false,
- bool enabled = true,
- 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,
});