error method
Widget
error(
- dynamic cmndModel
)
Implementation
Widget error(cmndModel) => <Widget>[
Row(
children: [
Image.asset(AppImage.cancel, width: 45, height: 45),
Dimens.width10,
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Dimens.height10,
'result_error'.tr.text.red500.size(18).make(),
Dimens.height3,
(to.historyModel?.createAtString ?? '')
.text
.size(10)
.minFontSize(10)
.color(const Color(0xff000000))
.italic
.make(),
],
)
],
)
]
.column()
.box
.withRounded(value: 7)
.margin(const EdgeInsets.all(10))
.padding(const EdgeInsets.all(10))
.white
.make();