normalResultView function

dynamic normalResultView(
  1. dynamic key,
  2. dynamic value
)

Implementation

normalResultView(key, value) {
  return Padding(
    padding: const EdgeInsets.all(16.0),
    child: Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        Flexible(
            flex: 1,
            fit: FlexFit.tight,
            child: commonText(
              key,
              align: TextAlign.start,
              style: GoogleFonts.inter(
                  textStyle: TextStyle(
                fontSize: margin_16,
                color: greyTextColor,
                overflow: TextOverflow.ellipsis,
              )),
            )),
        Expanded(
            child: commonText(value,
                maxLines: 3,
                align: TextAlign.end,
                style: GoogleFonts.inter(
                    textStyle: TextStyle(
                  fontSize: margin_16,
                  color: sampleIDColor,
                  fontWeight: FontWeight.w500,
                  overflow: TextOverflow.ellipsis,
                ))))
      ],
    ),
  );
}