buildManageRole method

Widget buildManageRole(
  1. BuildContext context,
  2. bool isMobile
)

Implementation

Widget buildManageRole(BuildContext context, bool isMobile) {
  return isMobile
      ? SizedBox(
          height: 60.0,
          child: Row(
            children: [
              AppText('Role', style: TextStyles.normal(context)),
              const SizedBox(width: 5.0),
              Expanded(child: buildRoleChips(context)),
            ],
          ),
        )
      : SizedBox(
          height: 60.0,
          child: Row(
            children: [
              AppText('Role', style: TextStyles.normal(context)),
              const Spacer(),
              buildRoleChips(context),
            ],
          ),
        );
}