getReadMore function

Widget getReadMore(
  1. String data
)

Implementation

Widget getReadMore(String data){
  return ReadMoreText(
     data,
  trimMode: TrimMode.Line,
  trimLines: 6,
  trimExpandedText: "Read Less",
  trimCollapsedText: "Read More",
  style: const TextStyle(color: textFiledBorder,fontSize: 14,fontWeight: FontWeight.w400),
    lessStyle: const TextStyle(color: black,fontSize: 12,fontWeight: FontWeight.w600),
    moreStyle: const TextStyle(color: black,fontSize: 12,fontWeight: FontWeight.w600),
  );
}