popupCOMP method
Implementation
Object popupCOMP(BuildContext context) async {
return showDialog(
context: context,
builder: (BuildContext context) => AlertDialog(
backgroundColor: Theme.of(context).colorScheme.tertiary,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(15)),
),
contentPadding: EdgeInsets.all(defaultWidth * 0.05),
content: SizedBox(
width: defaultWidth * 0.85,
child: Column(mainAxisSize: MainAxisSize.min, children: [
SelectionMenu.rowOption(
context, "DuraciĆ³n:", selectTime.selectionMenu(context)),
SizedBox(height: defaultWidth * 0.05),
playButton(context, "Jugar", () {
_handleTapCOMP(context);
popupWAITING(context);
}),
]),
),
),
);
}