TdMessage constructor
const
TdMessage({
- Key? key,
- TdMessageClose? onClosing,
- TdMessageType type = TdMessageType.info,
- Duration duration = _kTdMessageDuration,
- TextAlign textAlign = TextAlign.start,
- Icon? icon,
- required Text content,
Implementation
const TdMessage({
super.key,
this.onClosing,
this.type = TdMessageType.info,
this.duration = _kTdMessageDuration,
this.textAlign = TextAlign.start,
this.icon,
required this.content,
});