detail method
Implementation
Widget detail(String title, String value, {bool result = true}) {
return [
title.text
.size(14)
.color(const Color(0xff000000))
.maxLines(2)
.make()
.expand(),
value.text
.color(result ? const Color(0xff07D863) : const Color(0xffF15249))
.make(),
]
.row(
axisSize: MainAxisSize.max,
alignment: MainAxisAlignment.spaceBetween,
)
.paddingOnly(top: 8, bottom: 8);
}