part of version;

class BuildItem extends StatelessWidget {
  final VersionModel model;
  const BuildItem({
    Key? key,
    required this.model
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
      padding: EdgeInsets.only(top: 10.w,right: 15.w,left: 15.w),
      child: Column(
        children: [
         Row(
           mainAxisAlignment: MainAxisAlignment.spaceBetween,
           children: [
             Column(
               crossAxisAlignment: CrossAxisAlignment.start,
               children: [
                 Text(model.version??'',style: TextStyle(fontSize: 14.w,height: 1.5,color: Colours.c3),),
                 Text(model.updateTime??'',style: TextStyle(fontSize: 12.w,height: 1.5,color: Colours.c9),),
               ],
             ),
             Image.asset('assets/images/right_arrow.png')
           ],
         ),
         Gaps.vGaps10,
         Container(
           height: 0.5.w,
           color: Colours.cF0,
         )
        ],
      ),
    );
  }
}
