Card( color: ProjectColors.gray8, shape: RoundedRectangleBorder( borderRadius: BorderRadius.all( Radius.circular(10), ), ), child: Padding( padding: EdgeInsets.all(5), child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Text( context .read() .activeFarms! .orders! .data![position] .attributes ?.totalReturn ?? "", style: GoogleFonts.poppins( fontSize: 8.0, fontWeight: FontWeight.w400, color: ProjectColors.black, ), maxLines: 1, overflow: TextOverflow.ellipsis, ), Padding( padding: EdgeInsets.fromLTRB(5, 0, 5, 0), child: SizedBox( height: 7, child: Container( width: 1, height: 5, color: Color(0xFFD1D1D1), ), ), ), Text( context .read() .activeFarms! .orders! .data![position] .attributes ?.farm ?.duration ?? "", style: GoogleFonts.poppins( fontSize: 8.0, fontWeight: FontWeight.w400, color: ProjectColors.black, ), maxLines: 1, overflow: TextOverflow.ellipsis, ), ], ), ), )