render method
Implementation
@override
Widget render(BuildContext context, Style style) {
var token = AntdTheme.ofToken(context);
return AntdBox(
innerSafeArea: safeArea ?? style.safeArea,
disabled: disabled,
style: style.bodyStyle,
child: AntdColumn(
style: style.columnStyle,
children: [
if (title != null)
AntdBox(
style: style.titleStyle,
child: AntdBox(
style: danger == true
? AntdBoxStyle(
textStyle: style.titleStyle?.textStyle
?.copyWith(color: token.colorError.text))
: null,
child: title,
),
),
if (description != null)
AntdBox(
style: style.descriptionStyle,
child: description,
),
],
),
);
}