success method

Widget success(
  1. HistoryModel? historyModel
)

Implementation

Widget success(HistoryModel? historyModel) => <Widget>[
      Row(
        children: [
          Image.asset(AppImage.checked, width: 45, height: 45),
          Dimens.width10,
          Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              Dimens.height10,
              'result_success'
                  .tr
                  .text
                  .color(const Color(0xff0AA06E))
                  .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();