buildSummaryWidget method

  1. @override
Widget buildSummaryWidget(
  1. BuildContext context,
  2. List<BasicGroupConfig> allConfig,
  3. int groupId,
  4. int index,
)
override

构建简略页的 widget

Implementation

@override
Widget buildSummaryWidget(BuildContext context,
    List<BasicGroupConfig> allConfig, int groupId, int index) {
  return Container(
    decoration: BoxDecoration(
        borderRadius: const BorderRadius.all(Radius.circular(2.0)),
        border: Border.all(color: const Color(0xFFF0F0F0), width: 0.5)),
    child: ClipRRect(
      borderRadius: BorderRadius.circular(2),
      child: FadeInImage.assetNetwork(
        image: url,
        fit: fit,
        placeholder: placeHolder,
      ),
    ),
  );
}