buildGroupOpt method

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

Implementation

Widget buildGroupOpt(colorTheme, textStyle) {
  return Container(
    margin: EdgeInsets.only(top: getHeight(1)),
    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.addGroupWay, style: TextStyle(color: colorTheme.groupProfileTabTextColor, fontSize: textStyle.fontsize_16)),
        ),
        GestureDetector(onTap: changeGroupApplicationType, child: Text(addopt, style: TextStyle(color: colorTheme.groupProfileTextColor, fontSize: textStyle.fontsize_16)))
      ],
    ),
  );
}