buildGroupType method

Widget buildGroupType(
  1. dynamic colorTheme,
  2. dynamic textStyle
)

Implementation

Widget buildGroupType(colorTheme, textStyle) {
  return Container(
    padding: EdgeInsets.symmetric(horizontal: getWidth(16), vertical: getHeight(12)),
    width: MediaQuery.of(context).size.width,
    color: colorTheme.groupProfileTabBackground,
    child: Row(
      children: [
        Expanded(
          child: Text(tL10n.groupOfType, style: TextStyle(color: colorTheme.groupProfileTabTextColor, fontSize: textStyle.fontsize_16)),
        ),
        Text(widget.groupInfo.groupType, style: TextStyle(color: colorTheme.groupProfileTextColor, fontSize: textStyle.fontsize_16))
      ],
    ),
  );
}