mirrored_repositories/it_resource_exchange_app/lib/pages/detail
import 'package:flutter/material.dart';
import 'package:it_resource_exchange_app/common/constant.dart';

class GoodsCommentHeaderView extends StatelessWidget {

  final int commentCount;

  const GoodsCommentHeaderView({Key key, this.commentCount}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 45,
      child: Padding(
        padding: EdgeInsets.only(left: 15),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              '共 $commentCount 条评论',
              style: TextStyle(
                  color: AppColors.DarkTextColor, fontWeight: FontWeight.w700),
            )
          ],
        ),
      ),
    );
  }
}
