buildLanguage method

Widget buildLanguage(
  1. BuildContext context
)

Implementation

Widget buildLanguage(BuildContext context) {
  return SizedBox(
    height: 60.0,
    child: Row(
      children: [
        AppText('Language', style: TextStyles.normal(context)),
        const Spacer(),
        InkWell(
            onTap: () {
              controller.showLanguagePopup(context);
            },
            child: SizedBox(
              height: 40.0,
              child: Container(
                padding: const EdgeInsets.symmetric(
                    horizontal: 20.0),
                decoration: BoxDecoration(
                  border: Border.all(color: Colors.grey, width: 0.5),
                  borderRadius: RadiusUtils.borderRadiusForButtons,
                ),
                child: AppText(controller.selectedLanguage.value,
                    style: TextStyles.normal(context)),
              ),
            )),
      ],
    ),
  );
}