buildContent method
Implementation
Widget buildContent(GlobalKey<PopupMenuButtonState> popupButtonKey) {
return Material(
color: DefaultColors.background,
borderRadius: BorderRadius.circular(10),
child: InkWell(
borderRadius: BorderRadius.circular(10),
onTap: popupButton
? () => popupButtonKey.currentState?.showButtonMenu()
: onTap,
child: Center(
child: DefaultTextStyle(
style: TextStyles.textStyleSize(19).copyWith(
color: DefaultColors.accent, fontWeight: FontWeight.w600),
child: text!),
),
),
);
}